I want to plot the yield of sugarcane, coconut and rice in time. But I got this output:
CodePudding user response:
ggplot(data, aes(x = Year, y = Yield, colour = Crop, group = Crop)) geom_smooth() xlab("")
I want to plot the yield of sugarcane, coconut and rice in time. But I got this output:
CodePudding user response:
ggplot(data, aes(x = Year, y = Yield, colour = Crop, group = Crop)) geom_smooth() xlab("")