smsurv | R Documentation |
This R-program uses the Breslow method to estimate baseline survival of PH mixture cure model and AFT mixture cure model.
smsurv(Time, Status, X, beta, w, model)
Time |
this is the follow up time for "ph" model. If model is "aft", then this is residual. |
Status |
The status indicator, normally 0=alive, 1=dead |
X |
effects of covariates of uncured patients |
beta |
initial beta from coxph |
w |
conditional probability of the ith individual remains uncured at the mth iteration. We use Status as initial value |
model |
specifies your model, it can be "ph" or "aft" |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.