Transferring jamovi script for Mixed Measures ANOVA to R

General help and assistance with jamovi. Bug reports can be made at our issues page: https://github.com/jamovi/jamovi/issues . (If you're unsure feel free to discuss it here)
Post Reply
amyy-q
Posts: 2
Joined: Mon Aug 12, 2019 9:32 am

Transferring jamovi script for Mixed Measures ANOVA to R

Post 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!
User avatar
jonathon
Posts: 2622
Joined: Fri Jan 27, 2017 10:04 am

Re: Transferring jamovi script for Mixed Measures ANOVA to R

Post 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
amyy-q
Posts: 2
Joined: Mon Aug 12, 2019 9:32 am

Re: Transferring jamovi script for Mixed Measures ANOVA to R

Post 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
User avatar
jonathon
Posts: 2622
Joined: Fri Jan 27, 2017 10:04 am

Re: Transferring jamovi script for Mixed Measures ANOVA to R

Post by jonathon »

can you provide the data set, and the command you're running?

with thanks

jonathon
Post Reply