I got warning messages after typing code:
Warning: Ignoring unknown aesthetics: colours
bins = 30. Pick better value with
My R Code is
print(p + geom_freqpoly(aes(colors=Country))+ggtitle("Jielan Liu Question 10")+theme(plot.title=element_text(hjust=0.5)))
The file="Satisfaction.csv" contains columns ID, Country, Continent, LE, WellBeing, Ecological Footprint, HPI. So I want to make the line has different colours based on Country. However, it doesn't read through. Second, I think I need to change the scale of Y axis by using stat_bin("bins = 30").