is.formula | R Documentation |
Tests to see if an object is a formula or not.
is.formula(x)
x |
An R object. |
This function is a very simple one that simplifies checking whether or not the class of an object is a formula or not.
single logical
Eric Gilleland
is.formula(~1)
is.formula(1:3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.