is_single_odd | R Documentation |
Tests if an object is a single odd number
is_single_odd(x)
x |
an R object |
is_single
, is_single_even
is_single_odd(1.0) # TRUE
is_single_odd(2) # FALSE
is_single_odd(c(1.0,2)) # FALSE
is_single_odd(2) # FALSE
is_single_odd(0) # FALSE
is_single_odd(NA) # FALSE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.