getModelSeed {PDATK} | R Documentation

## Generic for retrieving the randomSeed parameter from a `SurvivalModel` object.

### Description

This should be used to set the seed before model training to ensure reproducible results.

### Usage

    getModelSeed(object)

### Arguments

`object` | An `S4` object to get the seed from.

### Value

An `integer` seed to be used when training the a `SurivvalModel`.

### Examples

    data(samplePCOSPmodel)
    getModelSeed(samplePCOSPmodel)

[Package PDATK version 1.0.2 Index]