extract_parameter_coefficient {modelc}R Documentation

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


[Package modelc version 1.0.0.0 Index]