Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

rescaler-40

Rescaler


Description

Convenient methods for rescaling data

Usage

rescaler(x, type="sd", ...)

Arguments

x

object to rescale

type

type of rescaling to use (see description for details)

...

other options (only pasesed to rank)

Details

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

Author(s)

Hadley Wickham <h.wickham@gmail.com>

See Also


reshape

Flexibly Reshape Data

v0.8.8
MIT + file LICENSE
Authors
Hadley Wickham [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.