[R] count data with some conditions

sandsky realstone at hotmail.com
Sat Nov 1 00:56:43 CET 2008


Hi there,

I have a data set:

a=cbind(5,2,4,7,8,3,4,11,1,20)

I want to count # of data, satistfying a[1]<a[2:10].

Anyone helps me solving this case?

Thank you in advance,


Jin
-- 
View this message in context: http://www.nabble.com/count-data-with-some-conditions-tp20275722p20275722.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list