is_factor: Detect if the given model term is a factor

Description Usage Arguments Value

View source: R/modelc.r

Description

Detect if the given model term is a factor

Usage

1
is_factor(parameter, model)

Arguments

parameter

A parameter name.

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


sparkfish/modelc documentation built on June 19, 2020, 12:18 a.m.