dropTerm: Drop factor term including interactions from a model formula

dropTermR Documentation

Drop factor term including interactions from a model formula

Description

Based on https://stackoverflow.com/a/23382097/1380598.

Usage

dropTerm(form, term)

Arguments

form

A model formula.

term

Character vector giving the name of the term to drop.

Value

An updated model formula.


PredictiveEcology/LandR documentation built on June 7, 2024, 4:16 p.m.