print.sasparity_table.RdShared print() method for every object this package returns: a header
with the display title, the SAS macro/PROC this call replaces, the
denominator note (where applicable), and the underlying rtables
table or listing tibble itself.
# S3 method for class 'sasparity_table'
print(x, ...)x, invisibly.
adsl <- sasparity_example("adsl")
print(tab_disposition(adsl[adsl$SAFFL == "Y", ]))
#>
#> ── Subject Disposition ──
#>
#> ℹ SAS equivalent: %disposition macro / PROC FREQ on EOSSTT (+ DCSREAS) by treatment group (Table 14.1.x Subject Disposition)
#> ℹ Denominator: n per column = subjects in `adsl` (10 total)
#> A B
#> (N=5) (N=5)
#> ————————————————————————————————
#> n 5 5
#> COMPLETED 3 (60%) 3 (60%)
#> DISCONTINUED 2 (40%) 2 (40%)