refit_categorical: Refit a model, dropping any non-categorical terms.

View source: R/pairwise.R

refit_categoricalR Documentation

Refit a model, dropping any non-categorical terms.

Description

Refit a model, dropping any non-categorical terms.

Usage

refit_categorical(fit)

Arguments

fit

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

Value

A linear model that only has categorical predictors.


supernova documentation built on Nov. 5, 2023, 1:09 a.m.