Description Usage Arguments Details Value
View source: R/predict.GORMC.R
Based on the predicted model, cure rate and survival probabilities are calculated for a new individual with specific covariate values. The new.x specifies the covariate vector of the survival part and the new.z specifies that in the cure rate part. If no values are specified, zeros will be used and the baseline survival probabilities are returned.
1 2 |
object |
An object from the function GORMC. |
... |
Other argumetns including new.x and new.z. See details. |
For a new subject, new.x and new.z correspond to the covariate vector in the survival part and the cure rate part. The first input of new.z is always 1 corresponding to the intercept. tp is an argument specifying the time points at which survival probabilities will be predicted. If no value specified for tp, a sequence of equally spaced time points from 0 to the largest observation time will be used and the total length of the sequence is defined by an argument len. The default value of len is 100.
CureRate |
Estimated cure rate of the new subject. |
Survival |
A data frame including the time points and survival probabilities. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.