divisible | R Documentation |
Divisibility
divisible(x, d, nThread = getOption("hutilscpp.nThread", 1L))
divisible2(x, nThread = getOption("hutilscpp.nThread", 1L))
divisible16(x, nThread = getOption("hutilscpp.nThread", 1L))
x |
An integer vector |
d |
|
nThread |
The number of threads to use. |
Logical vector: TRUE
where x
is divisible by d
.
divisible2
,divisible16
are short for (and quicker than)
divisible(x, 2)
and divisble(x, 16)
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.