gdp <- read.csv("C:/Users/HINH/OneDrive/Desktop/Data Science/wd/gdp per capita.csv")
gdp
plot(gdp,
type ='b',
xlim = c(1, 2020),
ylim = c(0, 3000),
col = "darkorchid3",
xlab = "period",
ylab = "gdp per capita",
main = "GDP per capita in Vietnam from 1990 to 2020")
Could anyone help me with this code?
I am quite new to R studio.
Thank you for your help!