is_factor: Detect if the given model term is a factor
Description
Detect if the given model term is a factor
Usage
is_factor(parameter, model)
Arguments
model
A list with the same signature as the output of lm or glm
Value
A logical representing whether or not the term is a factor