apa.regression.glmerMod: apa.regression.glmerMod

Description Usage Arguments Details Value Author(s) See Also Examples

Description

APA formated interpretation of glmer

Usage

1
2
## S3 method for class 'glmerMod'
apa.regression(model, ci = NULL)

Arguments

model

glmer to be formatted

ci

confint or similar (optional)

Details

Currently only the binomial family is supported

Pulls out the log odds, confidence interval, statistic, and p-value of the model; converts the log odds and confidence interval to odds ratios; formats p-values; and produces a table.

Value

the formatted data.frame

Author(s)

Mark Newman, mark@trinetteandmark.com

See Also

Other regression: apa.confint, apa.regression.glm, apa.regression.lmerModLmerTest, apa.regression.lm, apa.regression

Examples

1
2
3
4
5
6
7
  
  x = testdata.apa.regression.glmerMod
  model = glmer(Response ~ Attribute + (1|FocusGroup), data = x, family = binomial())
  ci = confint(model, parm="beta_", method="Wald")
  tab = apa.regression(model, ci)
  kable(tab, caption = 'Odds ratios with 95% CI', booktabs = TRUE)
  

markanewman/apaformat documentation built on May 10, 2019, 1:19 a.m.