powered by
The function is.formula tests if the object x is a formula.
is.formula
x
is.formula(x)
An object.
A logical, TRUE if x is a formula.
TRUE
# NOT RUN { is.formula("this is a formula") is.formula(f <- formula("y ~ x")) is.formula(update(f, ~ . -1)) # }
Run the code above in your browser using DataLab