View source: R/yeo-johnsonTransformation.R
power_transform | R Documentation |
Computes a given power of a number.
power_transform(y, pw)
y |
The number which one wants to raise to a certain power |
pw |
The power to which to raise |
This function returns the result of raising y
to the power
pw
when y > 0
. Otherwise, it will return 1.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.