fitMainEffectModel: Get the main effect of a variable using generalized linear...

View source: R/inbixGAIN.R

fitMainEffectModelR Documentation

Get the main effect of a variable using generalized linear regression .

Description

fitMainEffectModel

Usage

fitMainEffectModel(
  labelledDataFrame,
  variableName,
  depVarName,
  regressionFamily,
  numCovariates
)

Arguments

labelledDataFrame

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

variableName

string name of the variable to consider.

depVarName

string name of the classLabel variable.

regressionFamily

string glm regression family name.

numCovariates

numeric of included covariates.

Value

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

See Also

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


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