Generic function for extraction of predicted survival probabilities from a fitted survival model conforming to the interface required by
a fitted survival model.
Either a survival object (with
additional arguments, for example model complexity or, in case of survival response, argument
pmpec requires a
predictProb.class function for each model fit of class
class. It extracts the predicted probability of survival from this model.
predictProb functions, at the time
predictProb function for class
class is not available in peperr, but implemented in package pec as
predictSurvProb.class, it can easily be transformed as
Matrix with predicted probabilities for each evaluation time point in
times (columns) and each new observation (rows).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.