is.formula: Check if an object is a formula

Description

This function checks if the object inherits the 'formula' class.

Usage

1

Arguments

x

An R object.

Value

A logical scalar.

Author(s)

Long Qu

See Also

stats::formula

Examples

1
2
is.formula(~a+b+a:b)
is.formula('~a+b+a:b')

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.