fitMainEffectModel: 'fitMainEffectModel' Get the main effect of a variable using...

View source: R/regain.R

fitMainEffectModelR Documentation

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

Description

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

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.


insilico/npdr documentation built on July 6, 2023, 1:14 p.m.