View source: R/standardization.R
std.train | R Documentation |
The std.train
Standardization (range, zScore etc.) can be
estimated from the training data and applied to any dataset with the same
variables.
std.train(data, standardize = NULL)
data |
a |
standardize |
a
|
A numeric
data.frame of standardized biomarkers
Serra Ilayda Yerlitas, Serra Bersan Gengec, Necla Kochan, Gozde Erturk Zararsiz, Selcuk Korkmaz, Gokmen Zararsiz
# call data
data(exampleData1)
# define the function parameters
markers <- exampleData1[, -1]
markers2 <- std.train(markers, "deviance")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.