Description Usage Arguments Value Examples
Receives an input of an arbitrary supported class and returns a binary number represented by a logical vector. NULL is converted to a logical vector of length 1 with a FALSE value.
1 | convert_any_to_logical_vector(input = NULL, dim = NULL, ...)
|
input |
An object or scalar (any supported class) |
dim |
(conditional) A fixed dimension for the resulting binary number (integer) |
... |
For future use |
The resulting binary number represented as a logical vector (logical vector)
1 2 3 4 | # R function style:
convert_any_to_logical_vector("10001");
convert_any_to_logical_vector(c(TRUE,FALSE,FALSE,FALSE,TRUE));
convert_any_to_logical_vector(17);
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.