power_transform {depCensoring} | R Documentation |
Power transformation function.
Description
Computes a given power of a number.
Usage
power_transform(y, pw)
Arguments
y |
The number which one wants to raise to a certain power |
pw |
The power to which to raise |
Value
This function returns the result of raising y
to the power
pw
when y > 0
. Otherwise, it will return 1.
[Package depCensoring version 0.1.2 Index]