add_n.tbl_survfit: Add column with number of observations
Description
lifecycle::badge("maturing")
For each survfit() object summarized with tbl_survfit() this function
will add the total number of observations in a new column.
Usage
# S3 method for tbl_survfit
add_n(x, ...)
Arguments
x
object of class "tbl_survfit"
...
Not used
Example Output
Example 1
See Also
Review list, formula, and selector syntax used throughout gtsummary