getCoefsFromPredictors.rxGlm: getCoefsFromPredictors.rxGlm

View source: R/coefPredMatching.r

getCoefsFromPredictors.rxGlmR Documentation

getCoefsFromPredictors.rxGlm

Description

Function for matching coefficients with predictors for rxGlm

Usage

## S3 method for class 'rxGlm'
getCoefsFromPredictors(model, predictors = NULL, strict = FALSE, ...)

Arguments

model

A fitted model

predictors

A character vector of predictors to match against

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


coefplot documentation built on March 18, 2022, 7:58 p.m.