modelVariableCoefs: Return the coefficients used in the supplied model.

modelVariableCoefsR Documentation

Return the coefficients used in the supplied model.

Description

Return the coefficients used in the supplied model.

Usage

modelVariableCoefs(
  model,
  combineMultipleLevels = TRUE,
  ignoreMultiplicativeTerms = TRUE,
  directionOnly = TRUE
)

Arguments

model

a glm object with a coef variable, or a numeric vector of coefficients

combineMultipleLevels

variables that have multiple levels (eg: SESBTHLvl1, SESBTHLvl2) are combined into a single variable (eg: SESBTH) by summing the coefficients

ignoreMultiplicativeTerms

remove terms with * in them

directionOnly

show "+" or "-" instead of coefficent value

Value

chr named vector of coefficients


kcha193/simarioV2 documentation built on April 8, 2024, 4:51 p.m.