Learn R Programming

cards (version 0.3.0)

print.card: Print

Description

[Experimental]
Print method for objects of class 'card'

Usage

# S3 method for card
print(x, n = NULL, columns = c("auto", "all"), n_col = 6L, ...)

Value

an ARD data frame of class 'card' (invisibly)

Arguments

x

(data.frame)
object of class 'card'

n

(integer)
integer specifying the number of rows to print

columns

(string)
string indicating whether to print a selected number of columns or all.

n_col

(integer)
some columns are removed when there are more than a threshold of columns present. This argument sets that threshold. This is only used when columns='auto' and default is 6L. Columns 'error', 'warning', 'context', and 'fmt_fn' may be removed from the print. All other columns will be printed, even if more than n_col columns are present.

...

(dynamic-dots)
not used

Examples

Run this code
ard_categorical(ADSL, variables = AGEGR1) |>
  print()

Run the code above in your browser using DataLab