models-set: Accessor for the models slot of an 'S4' object

Description Usage Arguments Value Examples

Description

Accessor for the models slot of an S4 object

Usage

1
models(object, ...) <- value

Arguments

object

An S4 object to retrieve models from.

...

Allow new parameters to be defined for this generic.

value

A List- or list-like object.

Value

None, updates the object.

Examples

1
2
3
4
data(CSPC_MAE)
set.seed(1987)
metaclustModel <- ConMetaclustModel(CSPC_MAE, randomSeed=1987)
models(metaclustModel) <- list(model1='some_kind_of_model')

bhklab/PDATK documentation built on Dec. 27, 2021, 7:46 a.m.