[R] is member
David Winsemius
dwinsemius at comcast.net
Fri Sep 30 18:29:12 CEST 2011
On Sep 30, 2011, at 12:25 PM, Alaios wrote:
> Dear all,
> I have a vector with number that some of them are part of the
>
> seq(1,800,4). How can I check which of the numbers belong to the
> seq(1,800,4)
>
> LEt's say that is called myvector the vector with the numbers.
> Is there in R something like this?
> is.member(myvector,seq(1,800,4))
>
?match # which is the basis for %in%
David Winsemius, MD
West Hartford, CT
More information about the R-help
mailing list