build_formulas: Build formula strings for passing to lm and glm type calls.

View source: R/glm_model.R

build_formulasR Documentation

Build formula strings for passing to lm and glm type calls.

Description

Build formula strings for passing to lm and glm type calls.

Usage

build_formulas(resp, prmt, const, depends)

Arguments

resp

Name of response variable

prmt

Character vector with terms to permute

const

Character vector with terms to always include

depends

Tibble describing dependent terms (i.e. Year2 depends on Year being in the model)

Value

Character vector of formulas


BibelnieksDFW/BrBS documentation built on April 20, 2022, 12:54 a.m.