Description Usage Arguments See Also Examples
Tests if an object is a single logical
1 |
x |
an R object |
is_single
, is_single_true
,
is_single_false
1 2 3 4 5 6 | is_single_logical(TRUE) # TRUE
is_single_logical(FALSE) # TRUE
is_single_logical(c(TRUE, FALSE)) # FALSE
is_single_logical(-1.0) # FALSE
is_single_logical(0) # FALSE
is_single_logical(NA) # FALSE
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.