Skip to contents

Format a hypothetical control specification

Usage

# S3 method for class 'qdm_hypothetical'
format(x, digits = 4L, ...)

Arguments

x

An object of class "qdm_hypothetical".

digits

Number of significant digits for numeric values.

...

Not used.

Value

A character string describing the hypothetical control.

Examples

format(hypothetical(mean = 1, r = 1))
#> [1] "mean = (1), r = 1"