[R] simple questions

Jonathan Baron baron at psych.upenn.edu
Sat Jun 26 00:51:13 CEST 2004


On 06/25/04 17:38, Broeckling, Corey wrote:
>Secondly, I am trying to convert the raw dataset into a normalized dataset,
>with each data point normalized to its column mean.  I have tried dividing
>the dataset by the list generated using the colMeans function, but the
>results of this procedure generate the correct values for some columns and
>not others.

For this question, look at scale.  That is:
?scale

I don't understand the other questions.

-- 
Jonathan Baron, Professor of Psychology, University of Pennsylvania
Home page:            http://www.sas.upenn.edu/~baron
R search page:        http://finzi.psych.upenn.edu/




More information about the R-help mailing list