Description Usage Arguments Author(s) Examples
This program scales each column of a data frame or a matrix to [0,1] range, computing ((X)ij - (Xmin)i) / range((X)i) for each individual j of the variable i or to [-1,1] range computing 2 *((X)ij - (Xmin)i) / range((X)i) -1
1 | aue.rescale(dfm, method = c("zero.one", "one.one"))
|
dfm |
Data frame, matrix or vector to scale. |
method |
Scaling method: "zero.one" for scaling to [0, 1], "one-one" for scaling to [-1,1]. |
Leandro Roser learoser@gmail.com
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.