preProcess.pred: Preprocess prediction cohort

Description Usage Arguments Value

View source: R/dataTransform.R

Description

Preprocess prediction cohort

Usage

1
2
## S3 method for class 'pred'
preProcess(predCohort, preProcess, varNames)

Arguments

predCohort

a data.frame produced by

preProcess

a preProcess object with variable names matching those in predCohort

varNames

a vector of variable names to preProcess

Value

a data.frame of of the same dimensions of predCohort that is rescaled according to the attributes in the preProcess object


jknowles/ModelEWS documentation built on May 19, 2019, 11:42 a.m.