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 July 9, 2017, 9:02 a.m.

Search within the varComp package
Search all R packages, documentation and source code