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 May 6, 2024, 11:19 p.m.