is_factor {modelc}R Documentation

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

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


[Package modelc version 1.0.0.0 Index]