Remapping trajectories to both sides (sorta)
I may be overthinking this question...
I have responses that I've counterbalanced across participants. Half of people saw "BLUE" on the left and "PURPLE" on the right and half saw "PURPLE" on the left and "BLUE" on the right. However, I'd like to graph them without remapping them all to one side. (I suspect there's an inherent motor bias and I'd like to look at the trajectories going to different sides of the screen to check this out).
I tried using the following code from your paper Pascal but it remapped trajectories so that all factors were going to both sides.
d.var$side <- ifelse(d.var$response_get_RESP==d.var$RESP_LEFT, "left", "right")
MT <- mt_remap_symmetric(MT, remap_xpos = "no")
mt_plot_aggregate(MT2, use = "tn_trajectories", points = F, x = "xpos", y = "ypos", subject_id = "subject_nr", color = "RESPxCOLOR", linetype = "side", facet_col = "TRIAL")
The code above maps both BLUE and PURPLE responses to both left and right.
What I want is all BLUE responses to be mapped to the left and all PURPLE responses to be mapped to the right (even though they were counter balanced across participants). Then the trajectories can be broken down by my other factor (color: blue, purple, ambiguous). Three trajectories to the blue response in the left corner, three trajectories to the purple response in the right corner.
Comments
Hi Mike,
I think the following example illustrates what you would like to do:
Let me know if you have any questions when adapting it to your purpose.
Best,
Pascal
thanks Pascal, this solution is great!