Description Usage Arguments Value Author(s) Examples
View source: R/numeric_transformers.R
Applies different transformations to numeric features such as sqrt and log transforms.
1 | numeric.transformers(data, x, transform.type = "log", progress = TRUE)
|
data |
[required | data.frame] Dataset containing numeric features |
x |
[required | character] A vector of numeric feature names present in the dataset |
transform.type |
[optional | character | default="log"] Transform type, options are log or sqrt. |
progress |
[optional | logical | default=TRUE] Display a progress bar |
Data frame containing transformed features
Xander Horns
1 | res <- numeric.transformers(data = iris, x = "Sepal.Length")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.