search for: tp1565422p1565422

Displaying 1 result from an estimated 1 matches for "tp1565422p1565422".

2010 Feb 23
3
Use 2 "ifelse" to sort data
...h as from 11 to 20 assign to A; 6 to 10 assign to B, and the rest of them assign to C a<-1:20 tt<-ifelse(a>10, "A",no=ifelse( 5< a <=10, "B", "C")) Many Thanks Chunhao -- View this message in context: http://n4.nabble.com/Use-2-ifelse-to-sort-data-tp1565422p1565422.html Sent from the R help mailing list archive at Nabble.com.