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

gitlongor/varComp documentation built on Feb. 8, 2022, 10:29 a.m.