[R] normalizing data sets

Rishabh Gupta rg117 at ohm.york.ac.uk
Tue Oct 15 18:49:07 CEST 2002


Hi,
 Thanks for all your replies. You have solved my problem.

Many Thanks

Rishabh
----- Original Message -----
From: "Rishabh Gupta" <rg117 at ohm.york.ac.uk>
To: <r-help at stat.math.ethz.ch>
Sent: Monday, October 14, 2002 5:19 PM
Subject: [R] normalizing data sets


| Hi,
|  Can someone tell me how to normalize a data set so that the mean of the set is 0 and the variance is 1. As I understand, when you
| calculate the principle components of a data set through correlation as
| < princomp( dataset,  cor=T ) >
| then a similar calculation is performed. I would like to know how I can perform such a calulation directly. Any help would be
| greatly appreciated.
|
| Many Thanks
|
| Rishabh
|
| -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
| r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
| Send "info", "help", or "[un]subscribe"
| (in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
| _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
|

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list