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/PDATK documentation built on Dec. 27, 2021, 7:46 a.m.