boxcoxf | R Documentation |
Applies a Box-Cox transformation to a vector.
boxcoxf(shape, distr)
shape |
shape parameter |
distr |
the distribution |
Box-Cox tranformation of distr
with shape
.
x = rnorm(1000, mean = 0, sd = 0.25)
x.boxcox.pos = boxcoxf(0.5,x)
x.boxcox.neg = boxcoxf(-3.5,x)
par(mfrow = c(1,3))
hist(x)
hist(x.boxcox.pos)
hist(x.boxcox.neg)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.