modelParams-set: Generic for Setting the Model Parameters of An 'S4' Object

Description Usage Arguments Value Examples

Description

Generic for Setting the Model Parameters of An S4 Object

Usage

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

Arguments

object

An S4 Object

...

Allow additional parameters to be defined for this generic.

value

A List- or list-like object containing the parameters for the model.

Value

None, modifies the object.

Examples

1
2
3
4
data(CSPC_MAE)
set.seed(1987)
metaclustModel <- ConMetaclustModel(CSPC_MAE, randomSeed=1987)
modelParams(metaclustModel) <- list(alpha=0.05)

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