has_parameter: Check if an R model contains a coefficient
Description
Check if an R model contains a coefficient
Usage
has_parameter(model, parameter)
Arguments
model
A list with the same signature as the output of lm or glm
Value
A logical representing whether a coefficient is present in the model