SurvMatrix: SurvMatrix Class Constructors

Description Usage Arguments Value See Also

View source: R/response.R

Description

Create a matrix of survival events or probabilites.

Usage

1
2
3
SurvEvents(data = NA, times = NULL, distr = NULL)

SurvProbs(data = NA, times = NULL, distr = NULL)

Arguments

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.

Value

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.

See Also

performance, metrics


MachineShop documentation built on Oct. 1, 2021, 5:06 p.m.