has_parameter {modelc}R Documentation

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

parameter

A parameter name

Value

A logical representing whether a coefficient is present in the model


[Package modelc version 1.0.0.0 Index]