Learn R Programming

lazyeval (version 0.2.2)

is_formula: Is object a formula?

Description

Is object a formula?

Usage

is_formula(x)

Arguments

x

Object to test

Examples

Run this code
# NOT RUN {
is_formula(~ 10)
is_formula(10)
# }

Run the code above in your browser using DataLab