select_terms: Select terms based on the user's 'term' specification

View source: R/pairwise.R

select_termsR Documentation

Select terms based on the user's term specification

Description

Before returning the selection, ensure that the term we are subsetting on exists.

Usage

select_terms(fit, term = NULL)

Arguments

fit

A model fit by lm() or aov() (or similar).

term

If NULL, use each categorical term in the model. Otherwise, only use the given term.

Value

A character vector of terms to run analyses on.


supernova documentation built on May 29, 2024, 4:47 a.m.