Description Usage Arguments Value Examples
The name “folded Power Transformation” is used because this does for power transformations what Tukey's folded logarithm does for the logarithmic tranformation. The function calculates
f(p, λ, ε) = \frac{p+ε}{1-p+ε}^λ
where λ is the power and ε is a positive offset that ensures that \frac{p+ε}{1-p+ε} is greater than 0 and finite.
1 | fpower(p, lambda, eps)
|
p |
Mortality proportion |
lambda |
Power |
eps |
If |
The transformed values of fpower(p)
.
1 2 | p <- (0:10)/10
ytrans <- fpower(p, lambda=0.25, eps=1/450)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.