A function to obtain survival estimates from a flexible parametric model
Source:R/surv_fpm.R
surv_fpm.Rd
This function provides basic survival estimates from a flexible parametric survival model
Arguments
- DC_clean
a cleaned dataset ontained using dataComb().
- beta
a parameter to determine if the survival probabilities should be adjusted by some (log) hazard ratio. Defaults to beta=0, i.e. no adjustment.
- s
if specified will return the time at which some threshold is passed (e.g. s=0.5 for median survival time)