geer: Use Generalized Estimating Equations to assign significance...

Description Usage Arguments Value

Description

Use Generalized Estimating Equations to assign significance to a cluster of data.

Usage

1
geer(formula, covs, idvar = "CpG", corstr = "ex", counts = FALSE)

Arguments

formula

an R formula containing "methylation"

covs

covariate data.frame containing the terms in formula except "methylation" which is added automatically

idvar

idvar sent to geepack::geeglm

corstr

the corstr sent to geepack::geeglm

counts

if TRUE, then the poisson family is used.

Value

list(covariate, p, coef) where p and coef are for the coefficient of the first term on the RHS of the model.


brentp/clustermodelr documentation built on May 13, 2019, 5:11 a.m.