find_unique | R Documentation |
Find unique index number in from at which is equal to what.
find_unique(what, from, condition = `==`)
what |
value of sequence for finding |
from |
index of this argument is returned |
condition |
condition for finding. Default is "==" |
List of index which is found in from. NA if it is not found, or multiple index are found.
find_unique(c(1,3,5), c(0,1,2,3,3))
# c(2,NA,NA)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.