powered by
processData
applyProcessing
processData(x, center = TRUE, scale = TRUE, na.remove = TRUE) applyProcessing(x, object)
NA
x
preProcess
set.seed(115) xData <- matrix(rgamma(6 * 4, 5), 6) trainValues01 <- apply(xData, 2, processData) applyProcessing(xData, trainValues01)
Run the code above in your browser using DataLab