Description Usage Arguments Examples
Perform a power transformation on a numeric vector, retaining (by default)
its mean and standard deviation.
If two lamda values are given, this range is searched to find a power
transformation parameter that minimises skewness
.
If x
contains non-positive values, the vector is first shifted
into the positive Reals before the transformation.
1 |
x |
a numeric vector |
lamda |
Either a single power parameter for the transformation or a vector of length 2 giving the range of lamda values to search to find an optimised transformation parameter. |
standardise |
logical. If TRUE, the returned value has mean=0 and SD=1. Otherwise (the default) the original mean and SD are retained. |
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.