scale_dataset | R Documentation |
Scaling of a data set
scale_dataset(
dataset,
columns = NULL,
type = c("minmax", "zscore", "log", "center"),
invert = FALSE,
...
)
dataset |
A data set, usually a matrix or data frame. |
columns |
The names or indices of the columns to be scaled. If |
type |
Type of scaling with supported techniques min-max scaling ( |
invert |
A logical value indicating the direction of scaling. If set to |
... |
Further arguments depend on the type of scaling. Min-max scaling, z-score scaling and centering need two or one further arguments if necessary. |
The scaled dataset
.
scaling
Other Scaling:
scale_center()
,
scale_log()
,
scale_minmax()
,
scale_train_test()
,
scale_zscore()
,
scaling()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.