Home > Net >  Export APA format table of lme4 anova results
Export APA format table of lme4 anova results

Time:01-06

I ran this MLM model

model1.a <- lmer(log10_number_of_sensations ~  Tone*Location   Tone*Intensity 
            (1 Tone Intensity|Subject), 
           neutralBlock_data,REML=TRUE) 

and I used "lmertest" to get the repeated measure anova table:

a1.a = anova(model1.a, ddf="Kenward-Roger") 

How can I save the RM ANOVA table in APA style?

I tried to use the following packages:

flextable(stats.table <- as.data.frame(report(a1.a))) enter image description here But I wander I can I present the P value

as it was here: enter image description here

thank you very much

CodePudding user response:

Install the apaTables package.
https://cran.r-project.org/web/packages/apaTables/apaTables.pdf

Maybe try:

mytab <- apa.aov.table(model1.a) 
print(mytab) 

There are a variety of table options in that package for different models.

CodePudding user response:

Here are some other options for multilevel models https://www.anthonyschmidt.co/post/2020-09-06-table-options-mlm/

  • Related