rm_complete_terms function

Remove Terms from Formula

Remove Terms from Formula

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

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.
  • Maintainer: Rune Haubo Bojesen Christensen
  • License: GPL (>= 2)
  • Last published: 2020-10-23