make01: Centering and Standardization of Univariate Distributions

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

View source: R/Functionals.R

Description

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

Usage

1
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.

Author(s)

Peter Ruckdeschel peter.ruckdeschel@uni-oldenburg.de

See Also

E, Var

Examples

1
2
3
4
5
X <- sin(exp(2*log(abs( Norm())))) ## something weird
X01 <- make01(X)
print(X01)
plot(X01)
sd(X01); E(X01)

distrEx documentation built on May 30, 2017, 3:09 a.m.

Related to make01 in distrEx...