Displaying 1 result from an estimated 1 matches for "tp25840964p25840964".
2009 Oct 11
1
How do you test if a number is in a list of numbers?
...,3,4)
subset(dataset, any(var == varlist))
but it doesn't work because 'any' doesn't go row-by-row and hence always
returns TRUE.
Is there any simple way to do this?
Justin
--
View this message in context: http://www.nabble.com/How-do-you-test-if-a-number-is-in-a-list-of-numbers--tp25840964p25840964.html
Sent from the R help mailing list archive at Nabble.com.