fitInteractionModel: Get the interaction effect of a pair of variables using...

View source: R/inbixGAIN.R

fitInteractionModelR Documentation

Get the interaction effect of a pair of variables using generalized linear regression.

Description

fitInteractionModel

Usage

fitInteractionModel(
  labelledDataFrame,
  variableIndices,
  depVarName,
  regressionFamily,
  numCovariates,
  excludeMainEffects
)

Arguments

labelledDataFrame

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

variableIndices

vector of column indices of variable pairs.

depVarName

string name of the classLabel variable.

regressionFamily

string glm regression family name.

numCovariates

numeric of covariates included.

excludeMainEffects

logical indicating whether to exclude main effect terms.

Value

data.frame with variable, convergence status, beta coefficient, p-value, standard error and standardized beta columns.

See Also

Other GAIN functions: dcgain(), dmgain(), fitMainEffectModel(), gainToSimpleSIF(), getInteractionEffects(), getMainEffects(), regainParallel(), regain()


insilico/npdro documentation built on July 1, 2023, 2:56 p.m.