i have some questions if anyone can help. I have a panel data such as, example:
Country Name Year GDP PPP HHH
USA 1960 7 9 10
Uk 1960 9 10 NA
World 1960 7 5 3
Africa 1960 3 7 NA
Few Questions, please bear with me.
I'm using ggplot2 such as
ggplot(data, aes(x=Year, y=GDP, colour=Country Name)) + geom_point()
But the graph has too many Country names (about 150 country names) so everything is clustered and unreadable, even if i press zoom through R, its too much for it.
Question 1: How can i omit data such as World and Africa from the ggplot above?
Question 2: Can the points on the graph be interactive, as in, if i touch a point it shows which country? or is there a better graphing package to download, and no i don't have mathematica. Or can i specify different colors for ggplot, but i do have lots of countries to deal with at once.
Question 3: How can i make the graph more readable?
Question 4: what role do the NA values play in R, do they need to be ommitted? do they cause any problems?
Question 5: can i add trend lines to the countries, or do i just add + geom_line()
Question 6: how can i add another variable such as GDP and PPP + year and Country name?
Thank you for your help in advance