normalization {hclusteasy} | R Documentation |
Apply Normalization Techniques to the Dataset
Description
Perform data normalization.
Usage
normalization(data, type = "n0", norm = "column", na.remove = FALSE)
Arguments
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 |
Value
Normalized dataset in data.frame
foramt.
Examples
# 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")