Create an object of predicted survival events or probabilites for use with metrics provided by the MachineShop package.
SurvEvents(object = numeric(), times = NULL)SurvProbs(object = numeric(), times = NULL)
matrix, or object that can be converted to one, of predicted survival events or probabilities with columns and rows representing prediction times and cases, respectively.
numeric vector of the survival prediction times.
Object that is of the same class as the constructor name and inherits
from SurvMatrix
. Examples of these objects are the predicted survival
events and probabilities returned by the predict function.