[R] Standardization

hadley wickham h.wickham at gmail.com
Tue Mar 27 19:31:42 CEST 2007


On 3/27/07, Sergio Della Franca <sergio.della.franca at gmail.com> wrote:
> Dear R-Helpers,
>
> I want to perform a stadardiazation of a variable with mehtod range.
>
> How can i achve this results?

One way is the rescaler method in the reshape package.  It can scale
to common range, mean 0 sd 1, or ranks.  Compared to scale, which
others have mentioned, it will work on data.frames, leaving
categorical variables unchanged.

Regards,

Hadley



More information about the R-help mailing list