How to add colors and linetype with ggplot2

Congratulations for solving your problem!, just a little comment for clarification, I wasn't talking about the reshape package I was talking about literally "changing the shape of your dataset", and Drew has gave an example of that using the tidyr package.

Anyways, I'm glad you have solved your problem, so, if your question's been answered (even by you!), would you mind choosing a solution? It helps other people see which questions still need help, or find solutions if they have similar problems. Here’s how to do it:

1 Like