View source: R/transformations.R
transform_vector_power | R Documentation |
Simple function to transform vector by a single power
transform_vector_power(x, power = 1)
x |
a vector of a predictor variable. |
power |
single power. |
A vector of transformed values if power is not equal to 1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.