Shared 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, ...)

Arguments

x

A sasparity_table object (also carries a more specific subclass such as sasparity_demographics or sasparity_ae_soc).

...

Unused; present for S3 consistency.

Value

x, invisibly.

Examples

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%)