whereAre | R Documentation |
The function closely resembles the match
function, but allows for
multiple matches.
whereAre(a,b,verbose=TRUE)
a |
a scalar |
b |
a numeric or character vector |
verbose |
logical: print messages on console? |
A numeric vector
Sebastian Weirich
a <- 12
b <- c(10, 11, 12, 10, 11, 12)
match(a, b)
whereAre(a=a, b=b)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.