1

1.1

How has the life expetancy in the following countries

ggplot(economics,aes(date,unemploy))+
  geom_line()

xxxx

  • Germany
  • United States
  • Japan

Change over time?

selected_countries <- subset(gapminder, country %in% c("United States", "Germany", "Japan"))
ggplot(data = economics,aes(x = date,y = unemploy))+
  geom_line()

ggplot(economics,aes(date,unemploy))+
  geom_line(color= "red")

这是折线图 关于3个国家