in.bitwhich | R Documentation |
If the table is sorted, this can be much faster than %in%
in.bitwhich(x, table, is.unsorted = NULL)
x |
a vector of integer |
table |
a |
is.unsorted |
logical telling the function whether the table is (un)sorted. With the defautl |
logical vector
%in%
x <- bitwhich(100)
x[3] <- TRUE
in.bitwhich(c(NA,2,3), x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.