View source: R/predictsmcure.R
predictsmcure | R Documentation |
Prediction of semicure model
predictsmcure(object, newX, newZ, model = c("ph", "aft"), ...)
object |
an object of smcure |
newX |
new value(s) of X |
newZ |
new value(s) of Z |
model |
either 'ph' or 'aft' |
... |
further arguments to be passed to the predictsmcure function |
Predicted population survival function can be calculated by the following equation
S_{pop}(t)=π+(1-π)*S(t)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.