[R] Is there any R function for data normalization?
kridox at ymail.com
Tue Oct 2 12:08:21 CEST 2012
?scale in "base" package.
Le 12/10/02 18:51, Rui Esteves a écrit :
> 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?
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help