pareto: Pareto Scaling

View source: R/pareto.R

paretoR Documentation

Pareto Scaling

Description

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.

Usage

pareto(x, drop.na = FALSE)

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. If FALSE, missing values will be included.

Value

A numeric matrix or data frame with the same dimensions as x, but with each variable scaled by the square root of its standard deviation.

Author(s)

Christian L. Goueguel


ChristianGoueguel/specProc documentation built on Nov. 9, 2024, 3:23 p.m.