I have a df1:
Year V1 UR CR PA FO NA TOTALLU
1 1850 7377211 0 0.03615170 0.1405466 0 0.8232772 0.9999755
2 1851 7377212 0 0.03622309 0.1397468 0 0.8240073 0.9999771
3 1852 7377213 0 0.03631065 0.1389448 0 0.8247278 0.9999833
4 1853 7377214 0 0.03639766 0.1381439 0 0.8254495 0.9999911
5 1854 7377215 0 0.03647239 0.1373441 0 0.8261718 0.9999883
6 1855 7377216 0 0.03655438 0.1365248 0 0.8269085 0.9999877
How can I plot 3 temporal lines of CR, PA and NA in one graph, and adding labels as well. I am doing this but my labels are only for two of the variables
ggplot(df1, aes(x=Year),ylim=c(0,1)) +
geom_line(aes(y = CR), color = "red")+
geom_line(aes(y = PA, color="blue"))+
geom_line(aes(y = NA, color="green"))+
scale_y_continuous(limits = c(0, 1))+ylab("LU")