Tag: ggplot2

Plotting individual means (and CI) for each participant and condition

Imagine that we have an experiment in which participants do two different tasks (type a and b) and are assigned to two different conditions (A and B). So we want to know how fast they are in each type of stimuli and task. As we have few participants we can explore individual estimates. Below are listed some things that we want to handle on our visualization. Differences in type of…

Plotting GLMER effects with afex, emmeans in ggplot2 and base R

In previous posts I made some graphs in pure base R for Generalized Linear Mixed Effect Model, but there are new packages that worth to check. So I updated my codes and taking advantage of the opportunity I re-draw my plots in ggplot2. I really love the elegance and craftness of base R graphics, but sometimes ggplot2 is easier to share with collaborators and more undesrtandable. So, below is the…