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.


UCLATALL/supernova documentation built on Feb. 13, 2024, 6:57 a.m.