Learn R Programming

supernova (version 2.5.1)

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

Description

Refit a model, dropping any non-categorical terms.

Usage

refit_categorical(fit)

Value

A linear model that only has categorical predictors.

Arguments

fit

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