View source: R/FindParameters.R
power_transform | R Documentation |
power_transform
transforms numeric values to normality.
power_transform(x, transformer = NULL, oob_action = "na", ...)
x |
A vector with numeric values that should be transformed to normality. |
transformer |
A transformer object created using
|
oob_action |
Action that should be taken when out-of-bounds values are
encountered in
This argument has no effect for Yeo-Johnson transformations. |
... |
Arguments passed on to
|
A vector of transformed values of x
.
find_transformation_parameters
x <- exp(stats::rnorm(1000))
y <- power_transform(
x = x,
method = "box_cox")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.