Re: [R] Unexpected behaviour with seq() and %in%

2013-08-23 Thread arun
behaviour with seq() and %in% Hi, During the course of putting together a function I came across some unexpected behaviour when using seq() and %in%. I am creating two numeric vectors using seq(), and then using %in% to find the values in one vector that are in the other. Sometimes all the values are

[R] Unexpected behaviour with seq() and %in%

2013-08-23 Thread Finlay Scott
Hi, During the course of putting together a function I came across some unexpected behaviour when using seq() and %in%. I am creating two numeric vectors using seq(), and then using %in% to find the values in one vector that are in the other. Sometimes all the values are found, but sometimes a val