validationData-set: Generic for setting the 'validationData' slot on an 'S4'...

Description Usage Arguments Value Examples

Description

Generic for setting the validationData slot on an S4 object

Usage

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

Arguments

object

An S4 object.

...

Allow definition of additional parameters to this generic.

value

A data.frame of validation statistics.

Value

None, updates the object

Examples

1
2
3
4
data(CSPC_MAE)
set.seed(1987)
metaclustModel <- ConMetaclustModel(CSPC_MAE, randomSeed=1987)
validationData(metaclustModel) <- list(cohort1='This should be cohort data')

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