scale_center | R Documentation |
(Mean) Centering
scale_center(x, use_attr = TRUE, invert = FALSE, const = NULL)
x |
A numeric object whose elements should be scaled thru centering. |
use_attr |
A logical value indicating whether the scaling factor |
invert |
A logical value indicating the direction of scaling. If set to |
const |
A constant value that is subtracted from all values in |
Transformed x
with (mean) centered values.
scaling
.
Other Scaling:
scale_dataset()
,
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.