Print method for objects of class 'card'
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. Default is6L
.- ...
(
dynamic-dots
)
not used
Examples
ard_categorical(ADSL, variables = AGEGR1) |>
print()
#> {cards} data frame: 9 x 9
#> variable variable_level context stat_name stat_label stat
#> 1 AGEGR1 65-80 categori… n n 144
#> 2 AGEGR1 65-80 categori… N N 254
#> 3 AGEGR1 65-80 categori… p % 0.567
#> 4 AGEGR1 <65 categori… n n 33
#> 5 AGEGR1 <65 categori… N N 254
#> 6 AGEGR1 <65 categori… p % 0.13
#> 7 AGEGR1 >80 categori… n n 77
#> 8 AGEGR1 >80 categori… N N 254
#> 9 AGEGR1 >80 categori… p % 0.303
#> ℹ 3 more variables: fmt_fn, warning, error