View source: R/standardization.R
std.train | R Documentation |
The std.train
Standardization (min_max_scale, 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(laparotomy)
# define the function parameters
markers <- laparotomy[, -1]
markers2 <- std.train(markers, "deviance")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.