is_formula: Is a formula?

Description Usage Arguments Value Examples

View source: R/others.R

Description

Is a formula?

Usage

1

Arguments

x

object to test

Value

TRUE if x inherits from formula. Otherwise FALSE

Examples

1
2
x <- disp ~ am
is_formula(x)

imanuelcostigan/predrcats documentation built on May 18, 2019, 4:45 a.m.