Description Usage Arguments Value Author(s)
expo.scale
is a more elaborate, and complete, version of scale
. Several text options are available, but more importantly, the center and scale factors are always returned.
1 | expo.scale(DATA, center = TRUE, scale = TRUE)
|
DATA |
Data to center, scale, or both. |
center |
boolean, or (numeric) vector. If boolean or vector, it works just as |
scale |
boolean, text, or (numeric) vector. If boolean or vector, it works just as |
A data matrix that is scaled with the following attributes
(see scale
):
$'scaled:center' |
The center of the data. If no center is provided, all 0s will be returned. |
$'scaled:scale' |
The scale factor of the data. If no scale is provided, all 1s will be returned. |
Derek Beaton
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.