APAze: APA6-ready output for (g)lm , (g)lmer objects and Bayes...

Description Usage Arguments Author(s) Examples

Description

APA6-ready output for mixed effects and non-mixed effects linear models.

Usage

1
2
3
4
5
APAze(fit,
      method="Wald",
      nsim=1000,
      add.stars=TRUE,
      ddf=NULL)

Arguments

fit

A (g)lm or lme4::(g)lmer fit.

method

"boot" for bootstrapped CI, "Wald" for estimated. Only in the case of a mixed-effect model. See confint.merMod.

nsim

how many times should it bootstrap the confindence intervals (only if method = "boot").

add.stars

Add significance stars.

ddf

Denominator degrees of freedom approximation (only if fit is an instance of lmerTest::merModLmerTest, ignored otherwise). If 'NULL', then the normal approximation (treat t-values as z-values) is used for lmer objects fit with lme4 and the default Satterthwaite is used for models fit with lmerTest.

Author(s)

Dominique Makowski, Phillip Alday

Examples

1
2
3
4
5
6
require(neuropsychology)

df <- personality

fit <- lme4::lmer(Age ~ BMI + (1|Salary), data=df)
APAze(fit, method="Wald")

neuropsychology/neuropsychology.R documentation built on May 23, 2019, 4:27 p.m.