SurvMatrix | R Documentation |
Create a matrix of survival events or probabilites.
SurvEvents(data = NA, times = numeric(), distr = character())
SurvProbs(data = NA, times = numeric(), distr = character())
data |
matrix, or object that can be coerced to one, with survival events or probabilities at points in time in the columns and cases in the rows. |
times |
numeric vector of survival times for the columns. |
distr |
character string specifying the survival distribution from which the matrix values were derived. |
Object that is of the same class as the constructor name and inherits
from SurvMatrix
. Examples of these are predicted survival events and
probabilities returned by the predict function.
performance
, metrics
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.