Skip to contents

Checks if the object is of the type formula

Usage

is.formula(x)

Arguments

x

the object.

Value

logical indicating if the object is a formula or not.

Examples

f = formula(y ~ x)
is.formula(f)
#> [1] TRUE