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.


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