Question: Plot the average gdp over time, seperately (but on the same graph) for cities that started programs in each of the years from 1989 to
Plot the average gdp over time, seperately (but on the same graph) for cities that started programs in each of the years from 1989 to 1991. Please provide the answer with R codes.
| year | city | startyear | gdp |
| 1990 | 1 | 1989 | 265 |
| 1991 | 1 | 1989 | 266 |
| 1992 | 1 | 1989 | 275 |
| 1990 | 2 | 1989 | 266 |
| 1991 | 2 | 1989 | 422 |
| 1992 | 2 | 1989 | 526 |
| 1990 | 3 | 1990 | 332 |
| 1991 | 3 | 1990 | 520 |
| 1992 | 3 | 1990 | 225 |
| 1990 | 4 | 1991 | 652 |
| 1991 | 4 | 1991 | 366 |
| 1992 | 4 | 1991 | 991 |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
