Learn R Programming

lmerTest (version 3.1-3)

rm_complete_terms: Remove Terms from Formula

Description

Remove fixef or ranef terms from formula, return a list of modified formulae with environment restored to that of the original formula.

Usage

rm_complete_terms(terms, full_formula, random = TRUE)

Arguments

terms

character vector (or list) of terms to remove from full_formula

full_formula

formula

random

if TRUE names of the return list have parentheses around them.