Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

SurvMatrix

SurvMatrix Class Constructors


Description

Create a matrix of survival events or probabilites.

Usage

SurvEvents(data = NA, times = NULL)

SurvProbs(data = NA, times = 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.

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


MachineShop

Machine Learning Models and Tools

v2.8.0
GPL-3
Authors
Brian J Smith [aut, cre]
Initial release
2021-04-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.