preProcess.DEWSList: PreProcess DEWS list

Description Usage Arguments Details Value

View source: R/dataTransform.R

Description

PreProcess DEWS list

Usage

1
2
## S3 method for class 'DEWSList'
preProcess(DEWSList)

Arguments

DEWSList

a list produced by the makeDEWSList function

Details

The preProcess function is applied to all continuous variables in the training data. A separate scaling is done to binary variables as well. This training data pre-processing is then applied to test and validdata so that all data elements have been scaled relative to the training data.

Value

a DEWSList with the additional list element "scale" which includes the preProcess object


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