powered by
This function checks if the object inherits the 'formula' class.
is.formula(x)
An R object.
A logical scalar.
stats::formula
# NOT RUN { is.formula(~a+b+a:b) is.formula('~a+b+a:b') # }
Run the code above in your browser using DataLab