[R] scaling variables consecutively and independently

2015-08-03 Thread Ram09
Hello Everyone, So I am very new to R and I'm having some trouble. I basically have around 110 datasets each one made up of around 100 variables. I am trying to z-score the scores in each column but independently of each other ( each column independent of the other). The problem is that there

Re: [R] scaling variables consecutively and independently

2015-08-03 Thread David Winsemius
On Aug 3, 2015, at 1:06 PM, Ram09 wrote: Yes, I've been using the scale function but I don't know how to write a line of code that will scale the scores in each variable independently of each other instead of as a whole. You do not appear to be reading the help page for `scale`. In other

Re: [R] scaling variables consecutively and independently

2015-08-03 Thread David Winsemius
On Aug 3, 2015, at 11:42 AM, Ram09 wrote: Hello Everyone, So I am very new to R and I'm having some trouble. I basically have around 110 datasets each one made up of around 100 variables. I am trying to z-score the scores in each column but independently of each other ( each column

Re: [R] scaling variables consecutively and independently

2015-08-03 Thread Ram09
Yes, I've been using the scale function but I don't know how to write a line of code that will scale the scores in each variable independently of each other instead of as a whole. In other words, how can I get the scale function to standardize all the scores in one variable (column) then move on