NNS.norm: NNS Normalization

Description Usage Arguments Value Author(s) References Examples

View source: R/Normalization.R

Description

Normalizes a matrix of variables based on nonlinear scaling normalization method.

Usage

1
NNS.norm(A, linear = FALSE, chart.type = NULL, location = "topleft")

Arguments

A

a numeric matrix or data frame.

linear

logical; FALSE (default) Performs a linear scaling normalization, resulting in equal means for all variables.

chart.type

options: ("l", "b"); NULL (default). Set (chart.type = "l") for line, (chart.type = "b") for boxplot.

location

Sets the legend location within the plot, per the x and y co-ordinates used in base graphics legend.

Value

Returns a data.table of normalized values.

Author(s)

Fred Viole, OVVO Financial Systems

References

Viole, F. and Nawrocki, D. (2013) "Nonlinear Nonparametric Statistics: Using Partial Moments" https://www.amazon.com/dp/1490523995/ref=cm_sw_su_dp

Examples

1
2
3
4
set.seed(123)
x <- rnorm(100) ; y<-rnorm(100)
A <- cbind(x, y)
NNS.norm(A)

NNS documentation built on June 26, 2021, 1:07 a.m.