Functions to extract prediction intervals and observed data
Source:R/extract_pi.R
extractpi_deprecated.RdUsage
extract_median_surv(km.pi, outtype = c("long", "wide"))Arguments
- km.pi
A return object from
calc_km_pi()function.- outtype
Specifies whether output will be in long or wide format.
Details
extract_median_surv() was renamed to extract_medsurv_pi() for function name consistency.
extract_median_surv() extracts prediction intervals of
median survival times and and the corresponding observed values.