| rescaler | R Documentation |
Convenient methods for rescaling data
rescaler(x, type="sd", ...)
x |
object to rescale |
type |
type of rescaling to use (see description for details) |
... |
other options (only pasesed to |
Provides methods for vectors, matrices and data.frames
Currently, five rescaling options are implemented:
I: do nothing
range: scale to [0, 1]
rank: convert values to ranks
robust: robust version of sd, substract median and divide by median absolute deviation
sd: subtract mean and divide by standard deviation
Hadley Wickham <h.wickham@gmail.com>
rescaler.default
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.