Order for anova graphics

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)

by peishu001 » Fri Oct 23, 2020 1:46 pm

Hi

I am using jamovi codes in R. I was trying to figure out how to change the order of conditions that appeared on the x-axis when I was generating graphics for estimated marginal means.

For example, I have two conditions, A and B. I want B to appear on the left side of the x-axis and A on the right.
How should I adjust my R code in order to do this?

Thank you!
Best,
Peishu
peishu001
 
Posts: 1
Joined: Fri Oct 23, 2020 1:40 pm

by MAgojam » Fri Oct 23, 2020 7:17 pm

Hello Peishu.
If you use jamovi, do it by setup and change the position of the factor levels for what you are looking for.
If you use the jmv package in R you will need to change the position of the factor levels and then sort.
I attach a screenshot in jamovi, where I use the Rj module with the script that uses the R system (4.0.3) which reports the suggestion.
Screenshot.PNG
Screenshot.PNG (147.61 KiB) Viewed 334 times

Cheers,
Maurizio
User avatar
MAgojam
 
Posts: 116
Joined: Thu Jun 08, 2017 2:33 pm
Location: Parma (Italy)


Return to Help