I had three rates (rate1, rate2, rate3) and in order to plot using the same data frame, I just used rbind and append the columns. Type, obviously, specify if the rate is 1, 2, or 3.
As you can see, the lines are not plotting in the right way. in fact, I have no idea why I don't have three colours showing the three rates. Also, I have doubts about the x-axis.
I declared the x-axis, date_g1, as factor. Can you guide me with this error? I know how to handle multiple columns and plots using one data frame, but no with geom_line.
Hi, could you edit your question to provide a reproducible example, called a reprex, please? It's hard to troubleshoot without data. They don't have to be your actual data, just representative. You can even start with iris or another standard data set that you can transform into something similar to your dg100