N-1 Interactions by Trial Type and Response Time

Four way interactions between my pre-trial variables I am interested in, n-1 CSI and n-1 Congruency by currect response time and trial type.

Sophia Angleton https://doi.org/10.17605/OSF.IO/4DVGS (University of Oregon)https://www.uoregon.edu/
03-16-2025
What the variables mean:
  • Task: 1 is parity (odd or even) , 2 is size (bigger or smaller than 5)

  • rt: response time

  • Trial type: 1 = switch trials, or when someone is switching from one task instruction to another, and 0 = no-switch trials, or when someone is doing one task repeatedly

  • lcsi: lag CSI or n-1 CSI. This is pre-switch CSI variable and follows the same rules as our normal CSI, 1 is short (no preparation), 2 is long (yes preparation)

  • lin-congruent: where congruent trials would be numbers present in the task itself: 1,3,6,8 where 1,3 left always, 6,8 right always. pre-switch or lag in-congruent = 0, lag congruent = 1

First Visualization

I want to look at the interaction effect between n-1 CSI level, n-1 congruence, and current reaction time by trial type.

Where congruent trials would be numbers present: 1,3,6,8 where 1,3 left always, 6,8 right always.

Second Visualization

I want to change around where my variables go and add geom_smooth().

Third Visualization

I want to add in some custom colors for my color of lines but still keep it grouped by congruence.

Final Visualization

Finally, I want to make my titles and axis neat and adjust the y-axis coordinates. Once again adding that congruent trials would be numbers present: 1,3,6,8 where 1,3 left always, 6,8 right always.