find_categorical_vars: Find the categorical variables in a model

View source: R/pairwise.R

find_categorical_varsR Documentation

Find the categorical variables in a model

Description

Find the categorical variables in a model

Usage

find_categorical_vars(fit)

Arguments

fit

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

Value

A character vector of the categorical variables in the model. Note these are not terms, they are variables, e.g. interactions are not included here, only the variables they are comprised of.


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