has_parameter: Check if an R model contains a coefficient

Description Usage Arguments Value

View source: R/modelc.r

Description

Check if an R model contains a coefficient

Usage

1
has_parameter(model, parameter)

Arguments

model

A list with the same signature as the output of lm or glm

parameter

A parameter name

Value

A logical representing whether a coefficient is present in the model


team-sparkfish/modelc documentation built on June 21, 2020, 10:57 a.m.