extract_km_pi

0th

Percentile

Functions to extract prediction intervals and observed data

Functions to extract prediction intervals and observed data

Usage
extract_km_pi(km.pi, trunc.sim.censor = TRUE)

extract_km_obs(km.pi)

extract_median_surv(km.pi, outtype = c("long", "wide"))

extract_hr_pi(hr.pi, outtype = c("long", "wide"))

Arguments
km.pi

A return object from calc_km_pi function.

trunc.sim.censor

A logical specifying whether to truncate the simulated curve at the last time of `censor.dur`` specified in surv_param_sim.

outtype

Specifies whether output will be in long or wide format.

hr.pi

a return object from calc_hr_pi function.

Details

extract_km_pi extracts prediction intervals of simulated Kaplan-Meier curves.

extract_km_obs extracts observed Kaplan-Meier curves.

extract_median_surv extracts prediction intervals of median survival times and and the corresponding observed values.

extract_hr_pi extracts prediction intervals of simulated hazard ratios and the corresponding observed values.

Aliases
  • extract_km_pi
  • extract_km_obs
  • extract_median_surv
  • extract_hr_pi
Documentation reproduced from package survParamSim, version 0.1.0, License: GPL-3

Community examples

Looks like there are no examples yet.