trainData<- {PDATK}R Documentation

Generic for Accessing the Training Data of an S4 Object

Description

Generic for Accessing the Training Data of an S4 Object

Usage

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

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


[Package PDATK version 1.2.0 Index]