This function performs Pareto scaling on a numeric matrix or data frame. Pareto scaling scales each variable (column) by dividing it by the square root of its standard deviation.
Arguments
- x
A numeric matrix or data frame to be scaled.
- drop.na
A logical value indicating whether to remove missing values (NA) from the calculations. If
TRUE
(the default), missing values will be removed. IfFALSE
, missing values will be included.