For each
survfit()
object summarized with tbl_survfit()
this function
will add the total number of observations in a new column.
# S3 method for tbl_survfit
add_n(x, ...)
object of class "tbl_survfit
"
Not used
Example 1
Review list, formula, and selector syntax used throughout gtsummary
Other tbl_survfit tools:
add_nevent.tbl_survfit()
,
add_p.tbl_survfit()
,
modify
,
tbl_merge()
,
tbl_split()
,
tbl_stack()
,
tbl_strata()
,
tbl_survfit()