SurvivalModel-class {PDATK} | R Documentation

## A Generic Container for Storing Mathematical Models of SurvivalExperiments

### 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

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

[Package PDATK version 1.2.0 Index]