SurvivalModel {PDATK} | R Documentation

## Constructor for a SurvivalModel Object.

### Description

Constructor for a SurvivalModel Object.

### Usage

    SurvivalModel(trainCohorts, minDaysSurvived = 365, ..., randomSeed)

### Arguments

`trainCohorts` | A 'SurvivelExperiment' containing training data for the `SurvivalModel` object.
`minDaysSurvived` | An `integer` minimum number of days survived to be classified as a 'good' prognosis.
`...` | Force subsequent parameters to be named. Not used.
`randomSeed` | An `integer` randomSeed that was used to train the model. Users should specify this when initializing a model to ensure reproducibilty.

### Value

A `SurvivalModel` object.

### Examples

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

[Package PDATK version 1.2.0 Index]