print.survtab: Print a survtab Object

View source: R/S3_definitions.R

print.survtabR Documentation

Print a survtab Object

Description

Print method function for survtab objects; see ⁠[survtab_ag]⁠.

Usage

## S3 method for class 'survtab'
print(x, subset = NULL, ...)

Arguments

x

a survtab object

subset

a logical condition to subset results table by before printing; use this to limit to a certain stratum. E.g. subset = sex == "male"

...

arguments passed to print.data.table; try e.g. top = 2 for numbers of rows in head and tail printed if the table is large, nrow = 100 for number of rows to print, etc.

Value

Always returns NULL invisibly. This function is called for its side effects.

Author(s)

Joonas Miettinen

See Also

Other survtab functions: Surv(), lines.survtab(), plot.survtab(), summary.survtab(), survtab(), survtab_ag()


popEpi documentation built on April 4, 2025, 2:51 a.m.