fitMPRModelIncremental: fitMPRModelIncremental

View source: R/model_fitting.R

fitMPRModelIncrementalR Documentation

fitMPRModelIncremental

Description

fitMPRModelIncremental

Usage

fitMPRModelIncremental(
  X,
  yColname,
  covColnames,
  scoreColname,
  family = "binomial"
)

Arguments

X

A data.frame containing columns corresponding to yColname, covColnames and scoreColname.

yColname

The name of the column representing the response variable.

covColnames

A vector of names representing the covariate columns.

scoreColname

The name of the score column.

family

The GLM family string. 'binomial' for binary response. 'gaussian' for continuous response.

Value

A list containing results for the null (covariates only) model and full model (score and covariates). For each model, the formula, response and glm model object are provided.


marioni-group/MethylPipeR documentation built on Oct. 10, 2024, 3:32 p.m.