Description Usage Arguments Value Examples
The function is_formula
tests if the object
x
is a formula.
1 2 3 | is_formula(x)
is.formula(x)
|
x |
An object. |
A logical, TRUE
if x
is a formula.
1 2 3 | is_formula("this is a formula")
is_formula(f <- formula("y ~ x"))
is_formula(update(f, ~ . -1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.