getCoefsFromPredictors.default

Share:

Description

Default function (lm, glm) for matching coefficients with predictors

Usage

1
2
3
## Default S3 method:
getCoefsFromPredictors(model, predictors = NULL,
  strict = FALSE, ...)

Arguments

model

A fitted model

predictors

A character vector of predictors to match against. Interactions can be explicitely specified by VariableA:VariableB.

strict

Logical specifying if interactions terms should be included (FALSE) or just the main terms (TRUE).

...

further arguments

Details

The user specifies predictors whose coefficients should be included in the coefplot.

Value

A character vector of coefficients listing the coefficients that match the predictor

Author(s)

Jared P. Lander

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.