Default function (lm, glm) for matching coefficients with predictors
# S3 method for default
getCoefsFromPredictors(model, predictors = NULL, strict = FALSE, ...)A fitted model
A character vector of predictors to match against. Interactions can be explicitly specified by VariableA:VariableB.
Logical specifying if interactions terms should be included (FALSE) or just the main terms (TRUE).
further arguments
A character vector of coefficients listing the coefficients that match the predictor
The user specifies predictors whose coefficients should be included in the coefplot.