[R] scaling variables consecutively and independently
David Winsemius
dwinsemius at comcast.net
Mon Aug 3 21:42:10 CEST 2015
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 independent of the other). The problem is that there are just too
> many variables in each dataset to compute individually. I figured there
> should be some type of loop that I can do in which it would scale the scores
> in each column and then move on to the next but I haven't been able to find
> anything about this. Can anyone help? Thanks so much!
Perhaps you are looking for the 'scale'-function?
<deleted Nabble link>
R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
David Winsemius
Alameda, CA, USA
More information about the R-help
mailing list