Learn R Programming

coefplot (version 1.2.9)

getCoefsFromPredictors: getCoefsFromPredictors

Description

Generic function for finding which coefficients go with which predictors

Usage

getCoefsFromPredictors(model, predictors, ...)

Value

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

Arguments

model

A fitted model

predictors

A character vector of predictors to match against

...

further arguments

Author

Jared P. Lander

Details

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