fmatchp {hutilscpp} | R Documentation |
Parallel fastmatching
Description
fastmatch::fmatch
and logical versions, with parallelization.
Usage
fmatchp(
x,
table,
nomatch = NA_integer_,
nThread = getOption("hutilscpp.nThread", 1L),
fin = FALSE,
whichFirst = 0L,
.raw = 0L
)
finp(x, table, nThread = getOption("hutilscpp.nThread", 1L), .raw = 0L)
fnotinp(x, table, nThread = getOption("hutilscpp.nThread", 1L), .raw = 0L)
Arguments
x , table , nomatch |
As in |
nThread |
Number of threads to use. |
fin |
|
whichFirst |
|
.raw |
|
Examples
x <- c(1L, 4:5)
y <- c(2L, 4:5)
fmatchp(x, y)
fmatchp(x, y, nomatch = 0L)
finp(x, y)
[Package hutilscpp version 0.10.5 Index]