is_intercept_only: check if the formula is intercept only

View source: R/utils.R

is_intercept_onlyR Documentation

check if the formula is intercept only

Description

outputs logical values for a formula; to identify intercept-only formula.

Usage

is_intercept_only(form)

Arguments

form

Regression formula

Value

TRUE for intercept-only; FALSE otherwise


zhenkewu/baker documentation built on March 17, 2022, 9:54 p.m.