Description Usage Arguments Value Examples
Convert a native R integer value into a binary number materialized by an R logical vector.
See modular binary number
for a definition of binary number.
See convert_any_to_logical_vector
for the type generic equivalent function.
Open question: should this function provide support for vectors of integers? If yes, what should it return? A matrix?
1 | convert_int_to_logical_vector(i = NULL, dim = NULL, ...)
|
i |
A natural number (integer) |
dim |
(conditional) The size (length) of the logical vector (integer) |
The logical vector (logical vector)
1 2 | # R function style:
convert_int_to_logical_vector(137, 9);
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.