is.formula: Check if an object is a formula

Description Usage Arguments Value Author(s) See Also Examples

View source: R/varComp-utilities.R

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')

varComp documentation built on May 2, 2019, 5:15 p.m.