I have data from an experiment, where participants have been working in pairs, and they have to rate their enjoyment after the task.
Participant<-(c(1:20))
Pair<-(c(1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10))
Position<-(c(1:2))
Enjoyment<-(c(2,6,8,4,5,6,2,3,9,8,6,5,3,2,6,6,6,7,8,8))
Data<-data.frame(Participant, Pair, Position, Enjoyment)
I would like to plot each participant enjoyment score, but I would like to have each participant within a pair on different axis (position 1 enjoyment on x-axis and position 2 enjoyment on y-axis).
Any suggestions as to how I might do that?
Follow up for the pro's: How do I plot the highest score within a pair on the y-axis?
Thank you.