etc5523-2020 / exercise2C

For students to submit their reproducible example in the issue
0 stars 0 forks source link

How to combine two line plots? #34

Open YuqiWang517 opened 4 years ago

YuqiWang517 commented 4 years ago

I use ggplot() + geom_line() function to draw a line plot for girls. When I create the plot for girls it shows well as below. image

But I cannot combine two line plots( both boys and girls) by " +". It shows the errors as below. Does anyone know what I need to do for combining these two plots? image