Message-ID: <506ABD15.2060809@ymail.com>
Date: 2012-10-02T10:08:21Z
From: Pascal Oettli
Subject: Is there any R function for data normalization?
In-Reply-To: <CAJYLPFejf20szBgBHeSvo6LpyNgs5d+Y_+HUJEN1c-6xV2Ugsw@mail.gmail.com>
Hello,
?scale in "base" package.
Best Regards,
Pascal
Le 12/10/02 18:51, Rui Esteves a ?crit :
> Hello,
>
> I have a matrix with values, with columns c1..cn.
> I need the values to be normalized between 0 and 1 by column.
> Therefor, the 0 should correspond to the minimum value in the column c1 and
> 1 should correspond to the maximum value in the column c1.
> The remaining columns should be organized in the same way.
>
> Does a function in R exists for this purpose?
>
> Thanks,
> Rui
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>