Skip to contents

Format a data specification

Usage

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

Arguments

x

An object of class "qdm_data".

digits

Number of significant digits for numeric values.

...

Not used.

Value

A character string describing the data.

Examples

format(data_binary(n = 12, y = 7))
#> [1] "binary, n = 12, y = 7"