Description Usage Arguments Details Value Examples
Test an object x
. See Details for an explanation of how each function operates.
1 2 3 | is_char_numeric(x)
is_formula(x)
|
x |
an object to check. |
is_char_numeric
TRUE if x
can be converted into a numeric vector by as.numeric
without coercing character elements without a commonly-understood numeric representation.
is_formula
TRUE if x
is a formula
object.
logical
1 2 3 4 5 | is_char_numeric(c(1, 3, "3", NA))
is_char_numeric(c(1, 3, "3", NA, "A"))
is_formula("y ~ x")
is_formula(as.formula("y ~ x"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.