extract_parameter_coefficient: Extract the coefficient of a model parameter
Description
Extract the coefficient of a model parameter
Usage
extract_parameter_coefficient(model, parameter)
Arguments
model
A list with the same signature as the output of lm or glm
parameter
A character string corresponding to a model predictor
Value
A double corresponding to the coefficient, or 0 if the coefficient is missing