Description Usage Arguments Details Value
Scales and translates value such that it is in the given range, i.e. between zero and one.
1 | scale_minmax(.data, ..., range = c(0, 1))
|
.data |
A tbl. |
... |
One or more unquoted expressions separated by commas. You can treat variable names like they are positions. It supports [dplyr::select] comparable. |
range |
Desired range of transformed data. |
The transformation is given by: X_std = (X - X.min(axis=0)) / (X.max(axis=0) - X.min(axis=0)) x_transformed = (x - min(x))/(max(x) - min(x)) + min(x)
This transformation is often used as an alternative to zero mean, unit variance scaling.
An object of the same class as .data with "preprocessing-chain" attribution.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.