SurvivalModel-class: A Generic Container for Storing Mathematical Models of...

Description Slots Examples

Description

An S4 class with a number of predefined methods for accessing slots relavant to a surival model. More specific model types will inherit from this class for their accessor methods and constructor.

Slots

models

A SimpleList containing one or more model object.

validationData

A CohortList containing one or more SurvivalExperiment objects used to validate the model. This slot is populated by the when the validateModel method is called on a SurvivalModel object.

validationStats

A data.frame object containing validation statistics calculated by the validateModel method.

Examples

1
2
3
4
data(sampleICGCmicro)
set.seed(1987)
survModel <- SurvivalModel(sampleICGCmicro, minDaysSurvived=385,
  randomSeed=1987)

bhklab/PanCuRx documentation built on Dec. 30, 2021, 4:59 p.m.