removeModel-methods: Method to remove fitted models from a SurvivalData object

Description Usage Arguments Value

Description

Method to remove fitted models from a SurvivalData object

Usage

1
2
3
4
removeModel(object, ...)

## S4 method for signature 'SurvivalModel'
removeModel(object, modelName)

Arguments

object

(SurvivalModel object) contains list of already fitted models

...

additional arguments for specific instances of this generic

modelName

(list of character strings) names of models to be removed. To remove specific spline model should include the number of knots and scale. For example, to remove the spline model with 5 knots and scale = hazard, should use spline_5_hazard

Value

a SurvivalModel object


scientific-computing-solutions/sibyl documentation built on May 21, 2019, 8:40 a.m.