predict.survSL.pchreg | R Documentation |
Obtains predicted survivals from a fitted piecewise constant hazard regression object.
## S3 method for class 'survSL.pchreg'
predict(object, newX, new.times, ...)
object |
Fitted |
newX |
New covariate data.frame for which to obtain predictions. |
new.times |
Times at which to obtain to obtain the predicted survivals. |
... |
Additional ignored arguments. |
Matrix of predictions, with the same number of rows as newX
and number of columns equal to the length of new.times
. Rows index new observations, and columns index new times at which the survival was computed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.