matchList(x, table, nomatch=NA, incomparables=F)
duplicatedList(x, incomparables = F)
x
.
FALSE
. It is present
to make the argument list like that of
match
and
duplicated
.
These functions are versions of
match.data.frame
and
duplicated.data.frame
that are faster and
use less memory but do not have the same functionality. They
will only work if all columns are numeric, complex, or character.
duplicatedList(list(rep(1:4,each=4), rep(1:8, each=2))) # [1] F T F T F T F T F T F T F T F T matchList(list(c(2,5), c("b","h")), table=list(1:10,letters[1:10])) # [1] 2 NA