[R] For loop for distinguishing negative numbers

cmga20 charlieallen89 at hotmail.com
Wed Jul 15 17:07:07 CEST 2009


Hi i am very new to R and I have been trying to change each individual piece
of data in a data set to 10 if it is below 0 and 5 if it is above 0. I know
this sounds very easy but i am struggling!!
-- 
View this message in context: http://www.nabble.com/For-loop-for-distinguishing-negative-numbers-tp24499872p24499872.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list