findP: Find Power Exponent

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/findP.R

Description

findP finds the exponent for an optimal power transformation of data that is to be normalized.

Usage

1
findP(y, step = 0.01)

Arguments

y

a 2D matrix with x- and y-coordinates of raw data in columns 'y[,1]' and 'y[,2]'

step

an optional step size for iterating normalization exponents from the interval [0;1]. Default value is '0.01'.

Value

maxIQR

The optimal exponent obtained by maximizing the inter-quartile range

minMed

The optimal exponent obtained by minimizing the distance to the median

values

Data spaces for each exponent iterated during optimization

Author(s)

M. Sammeth <micha@sammeth.net>

References

Ribeca P. and Sammeth M. (under review)

See Also

filter, distance

Examples

1
2
x=cbind(rexp(1000),rexp(1000))
p=findP(x)$maxIQR

ops documentation built on May 1, 2019, 7:55 p.m.