Page 1 of 1

Transferring jamovi script for Mixed Measures ANOVA to R

Posted: Mon Aug 12, 2019 10:09 am
by amyy-q
Hi there!

I have ran a mixed model ANOVA in jamovi with a within factor variable (with 2 levels) and a between factor variable (with 3 levels). However, I am having issues with transferring the syntax to run in RStudio.

When running the directly copied syntax from jamovi, I encounter an error:

Code: Select all

Error in jmv::anovaRM(data = data, rm = list(list(label = "Block", levels = c("Low",  : 
  unused argument (depLabel = "Accuracy")
My data is currently set up with the variables: Subject, Group (between variable), Accuracy in the Low condition (within variable), and Accuracy in the High condition (within variable). Neither of my two within variables include "Accuracy" in the variable name though.

Any ideas as to what may be the cause of this issue?

Thank you in advance for your help. I greatly appreciate it!

Re: Transferring jamovi script for Mixed Measures ANOVA to R

Posted: Wed Aug 14, 2019 10:55 am
by jonathon
hi amy,

try removing the depLabel="Accuracy" bit. my guess is that the depLabel option has been added to jamovi more recently than we've pushed an update to CRAN.

cheers

jonathon

Re: Transferring jamovi script for Mixed Measures ANOVA to R

Posted: Thu Aug 15, 2019 1:25 am
by amyy-q
Hi Jonathon,

Thanks for your reply!

When removing the depLabel "Accuracy" line, another error pops up:

Code: Select all

 Error in .subset2(public_bind_env, "initialize")(...) : 
  object 'Group' not found
I have tried converting the data to long form and renaming the variable columns but that hasn't helped either.

Any other ideas for why these errors are popping up?

Thanks,
Amy

Re: Transferring jamovi script for Mixed Measures ANOVA to R

Posted: Thu Aug 15, 2019 6:08 am
by jonathon
can you provide the data set, and the command you're running?

with thanks

jonathon