gtsummary (version 1.6.3)

add_nevent.tbl_survfit: Add column with number of observed events

Description

lifecycle::badge("maturing") For each survfit() object summarized with tbl_survfit() this function will add the total number of events observed in a new column.

Usage

# S3 method for tbl_survfit
add_nevent(x, ...)

Arguments

x

object of class 'tbl_survfit'

...

Not used

Example Output

Example 1

image of rendered example table

See Also

Other tbl_survfit tools: add_n.tbl_survfit(), add_p.tbl_survfit(), modify, tbl_merge(), tbl_split(), tbl_stack(), tbl_strata(), tbl_survfit()