View source: R/normalization.R
normalization | R Documentation |
Perform data normalization.
normalization(data, type = "n0", norm = "column", na.remove = FALSE)
data |
Dataset in |
type |
Type of normalization. Default is "n1".
|
norm |
Defines whether the normalization will be done by "column" or by "row". Default is "column". |
na.remove |
A |
Normalized dataset in data.frame
foramt.
# Load the required package
library(hclusteasy)
# Read the dataset 'iris' from the package
data("iris_uci")
# Remove the column 'Species' from the iris dataset
iris <- iris_uci[, -5]
# Apply normalization to the iris dataset
irisN <- normalization(iris, type = "n1")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.