jamovi / jmv

jamovi for R
https://www.jamovi.org
59 stars 27 forks source link

anova() doens't produce the interaction plot (factorial ANOVA) #206

Open jorgesinval opened 6 years ago

jorgesinval commented 6 years ago

Hello!

Using the anova function, using the emMeans it only produces one graph per factor and not the interaction plot. I'm using it like this:

jmv::anova(df, dep = 'dep', factors = c("factor1, 'factor2"), effectSize = "omega", 
           postHoc = c("factor1","factor2"), emMeans=c("factor1","factor2"))
jonathon-love commented 6 years ago

the emMeans argument takes an array of factor combinations.

try this:

jmv::anova(df,
    dep = 'dep',
    factors = c('factor1', 'factor2'),
    emMeans=list(c('factor1', 'factor2')))

jonathon

jorgesinval commented 6 years ago

Perfect! Perhaps you can add it in the function examples.

On Sat, Oct 6, 2018 at 1:01 AM Jonathon Love notifications@github.com wrote:

the emMeans argument takes an array of factor combinations.

try this:

jmv::anova(df, dep = 'dep', factors = c('factor1', 'factor2'), emMeans=list(c('factor1', 'factor2')))

jonathon

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jamovi/jmv/issues/206#issuecomment-427528819, or mute the thread https://github.com/notifications/unsubscribe-auth/AH5QNwAcI3jN78uziGmyQun6NSUl_YTQks5uh_LfgaJpZM4XKXMI .