extract_stratum {heemod} | R Documentation |
Extracts the product-limit table from a survfit object
for a given stratum. Only survival::survfit()
objects are
supported.
extract_stratum(sf, index)
sf |
A survfit object. |
index |
The index number of the strata to extract. |
A data frame of the product-limit table for the given stratum.