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
Order for anova graphics
Re: Order for anova graphics
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. Cheers,
Maurizio
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. Cheers,
Maurizio