Question: I want to plot the average gdp over time, seperately (but on the same graph) for cities in each of the years from 1985 to

I want to plot the average gdp over time, seperately (but on the same graph) for cities in each of the years from 1985 to 1987. Please provide the answer with R codes.

year city startyear gdp
1990 1 1985 265
1991 1 1985 266
1992 1 1985 275
1990 2 1985 266
1991 2 1985 422
1992 2 1985 526
1990 3 1986 332
1991 3 1986 520
1992 3 1986 225
1990 4 1987 652
1991 4 1987 366
1992 4 1987 991

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!