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 May 29, 2024, 4:47 a.m.