Learn R Programming

supernova (version 3.0.0)

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).