is_logical | R Documentation |
Check whether an object is logical
is_logical(x, scalar = F)
x |
(obj) An object to check. |
scalar |
(lgl) Only accept scalar. |
Logical scalar.
is_scalar_NA(NA)
is_scalar(1:3)
is_scalar_NA(c(1, NA))
is_scalar_NA(c(NA, 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.