
Last chance! 50% off unlimited learning
Sale ends in
This function checks if the object inherits the 'formula' class.
is.formula(x)
An R object.
A logical scalar.
# NOT RUN {
is.formula(~a+b+a:b)
is.formula('~a+b+a:b')
# }
Run the code above in your browser using DataLab