make01 | R Documentation |
The function make01
produces a new centered and
standardized univariate distribution.
make01(x)
x |
an object of class |
Thanks to the functionals provided in this package, the code is
a one-liner: (x-E(x))/sd(x)
.
Object of class "UnivariateDistribution"
with expectation 0 and variance 1.
Peter Ruckdeschel peter.ruckdeschel@uni-oldenburg.de
E
, Var
X <- sin(exp(2*log(abs( Norm())))) ## something weird
X01 <- make01(X)
print(X01)
plot(X01)
sd(X01); E(X01)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.