unable to modify y axis breaks, even after y_axis=TRUE

7 views
Skip to first unread message

Tamás Andrei Földes

unread,
Jan 26, 2018, 5:29:05 AM1/26/18
to ez4r
Hello,

After this code:

ezPlot(data=data.filtered,
        dv= .(rt), 
        wid = .(sb), 
        within = .(Phase,Context),
        x = .(Phase),
        split = .(Context),
        type = 3,
        y_free = TRUE
        ) + scale_y_continuous(breaks = seq(1050,1300,10)) + 
        theme_apa(legend.pos = "topleft") + ylab("Mean RT (ms)")

it still get the attached plot. How can I modify that pesky y_max value?

cheers


overall_phase_context

Mike Lawrence

unread,
Jan 26, 2018, 11:32:21 AM1/26/18
to ez...@googlegroups.com
This is more of a ggplot2 question; ezPlot simply returns a ggplot2 object that you can then tweak. In this case what you've done should work, so I don't know what to tell you. Can you post the data.filtered dataframe so I can try it?


--
Mike Lawrence
Graduate Student
Department of Psychology & Neuroscience
Dalhousie University

~ Certainty is (possibly) folly ~

--
You received this message because you are subscribed to the Google Groups "ez4r" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ez4r+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages