Description Usage Arguments Details Value Author(s) Examples
Transform data to uniform distribution. Optionally, a set of values can be transformed against a reference set of data.
1 | to.uniform(ref, val = NA)
|
ref |
Set of values that determince the transformation |
val |
Values to be transformed |
If values is NA, the reference set itself will be transformed.
Vector with transformed values.
Dominik Reusser
1 2 3 4 5 | a <- rnorm(100)
hist(a)
b <- to.uniform(a)
hist(b)
c <- to.uniform(ref=a, val=c(-0.5,0,0.5))
|
Loading required package: e1071
Loading required package: hexbin
Loading required package: qualV
Loading required package: KernSmooth
KernSmooth 2.23 loaded
Copyright M. P. Wand 1997-2009
Loading required package: klaR
Loading required package: MASS
Loading required package: som
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.