getModelSeed,SurvivalModel-method {PDATK} | R Documentation

## Method for retrieving the random seed used for training a specific survival model object.

### Description

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

### Usage

    ## S4 method for signature 'SurvivalModel'
    getModelSeed(object)

### Arguments

`object` | A `SurvivalModel` object to get the seed from.

### Value

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

### Examples

    data(samplePCOSPmodel)
    getModelSeed(samplePCOSPmodel)

[Package PDATK version 1.0.2 Index]