[R] Normalizing data

Jonck van der Kogel jonck at vanderkogel.net
Sat Jun 14 14:57:11 CEST 2003


Hello dear R-list members,
I have a question about normalizing data. The goal is to normalize the 
dataset per column, so all the data in each column is scaled to the 
interval (0,1), will have a mean of 0 and a standard deviation of 1.
I know the way to do this is to take each datapoint, subtract the mean 
of the column it is located in and divide this by the standard 
deviation of the column. Now my question is: is there a function in R 
that does this, and if so, which function?
Thanks very much, Jonck




More information about the R-help mailing list