Jitter lines in ggplot - code works without "position =" argument

It seems like you still have position inside the aes() function, you have to take it out, position is not an aesthetic.

2 Likes