manageConditioningData: convert a data.frame or vector of factors into a format...

Description Usage Arguments Value Note See Also

View source: R/statismoBuildConditionalModel.r

Description

convert a data.frame or vector of factors into a format usable by statismoBuildConditionalModel and extract variable information.

Usage

1
manageConditioningData(trainingData)

Arguments

trainingData

training data, can be data.frame, character vector/matrix, etc.

Value

trainingData

Data converted into numeric matrix

surrogateInfo

vector of 0 and 1 indicating which input was categorial/continuous

encode

in case categorial variables where encoded into integers, this lists the association of the categorial values to the corresponding dummy encoding.

order

order of variables after resorting

Note

the variables will be resorted with the first being continuous variables and then categorial ones.

See Also

statismoBuildConditionalModel


zarquon42b/RvtkStatismo documentation built on May 4, 2019, 9:09 p.m.