Description Usage Arguments Value Examples
View source: R/normalization.R
Normalization wrapper
1 |
dataset |
we want to perform normalization on |
method |
selected method of normalization |
exclude |
|
... |
Further arguments for |
The normalized dataset
1 2 3 4 5 6 7 8 | library("smartdata")
super_iris <- normalize(iris, method = "min_max", exclude = "Species", by = "column")
# Use default parameter by = "row"
super_iris <- normalize(iris, method = "min_max", exclude = c("Sepal.Length", "Species"))
super_iris <- normalize(iris, method = "min_max", exclude = "Species", by = "row")
super_iris <- normalize(iris, method = "z_score", exclude = "Species", by = "row")
super_iris <- normalize(iris, method = "sd_quotient", exclude = "Species", by = "row")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.