trainData-set: Generic for Accessing the Training Data of an 'S4' Object

Description Usage Arguments Value Examples

Description

Generic for Accessing the Training Data of an S4 Object

Usage

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

Arguments

object

An S4 object to retrieve training data from.

...

Allow new parameters to be defined for this generic.

value

An object to place in the objects training data slot.

Value

None, updates the object.

Examples

1
2
3
4
data(CSPC_MAE)
set.seed(1987)
metaclustModel <- ConMetaclustModel(CSPC_MAE, randomSeed=1987)
trainData(metaclustModel) <- CSPC_MAE

bhklab/PanCuRx documentation built on Dec. 30, 2021, 4:59 p.m.