make01

0th

Percentile

Centering and Standardization of Univariate Distributions

The function make01 produces a new centered and standardized univariate distribution.

Keywords
distribution
Usage
make01(x)
Arguments
x

an object of class "UnivariateDistribution"

Details

Thanks to the functionals provided in this package, the code is a one-liner: (x-E(x))/sd(x).

Value

Object of class "UnivariateDistribution" with expectation 0 and variance 1.

See Also

E, Var

Aliases
  • make01
Examples
# NOT RUN {
X <- sin(exp(2*log(abs( Norm())))) ## something weird
X01 <- make01(X)
print(X01)
plot(X01)
sd(X01); E(X01)
# }
Documentation reproduced from package distrEx, version 2.8.0, License: LGPL-3

Community examples

Looks like there are no examples yet.