scaling | R Documentation |
Scaling of a numeric object
scaling(
x,
type = c("minmax", "zscore", "log", "center"),
use_attr = TRUE,
invert = FALSE,
...
)
x |
A numeric object whose elements should be scaled. |
type |
Type of scaling with supported techniques min-max scaling ( |
use_attr |
A logical value indicating whether scaling factors like |
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 or re-scaled (inverted) x
.
scale_minmax
, scale_zscore
, scale_log
, scale_center
.
Other Scaling:
scale_center()
,
scale_dataset()
,
scale_log()
,
scale_minmax()
,
scale_train_test()
,
scale_zscore()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.