pcured {curesurv} | R Documentation |
calculates cure fraction of mixture and non mixture cure models.
pcured(
z_pcured = z_pcured,
z_ucured = z_ucured,
z_tau = z_tau,
z_alpha = z_alpha,
x = x,
object
)
z_pcured |
covariates matrix acting on cure proportion |
z_ucured |
covariates matrix acting on survival function of uncured |
z_tau |
Covariates matrix acting on time-to-null parameter. |
z_alpha |
Covariates matrix acting on parameter alpha of the density of time-to-null excess hazard model |
x |
time at which the predictions are provided |
object |
ouput from a model implemented in curesurv |
An object of class c("cure_fraction", "data.frame")
.
This object is a list containing the following components:
time |
time in the input new data |
netsurv |
predicted net survival at the time provided in the new data |
pi |
pi or net survival at time tau |