regain: 'getMainEffects'

View source: R/regain.R

regainR Documentation

getMainEffects

Description

getMainEffects

Usage

regain(
  dats,
  depVarName,
  indVarNames,
  reg.fam = "binomial",
  nCovs = 0,
  excludeMainEffects = F
)

Arguments

dats

labelledDataFrame.frame with variables in columns and samples in rows.

depVarName

string name of the classLabel variable.

indVarNames

Vector of independent variable names, to name output matrices

reg.fam

string glm regression family name.

nCovs

numeric of covariates included.

excludeMainEffects

logical indicating whether to exclude main effect terms.

Value

regainMatrix matrix of variable by variable regression coefficients.


insilico/glmSTIR documentation built on July 7, 2023, 12:29 a.m.