Advertisement
Guest User

Untitled

a guest
Nov 18th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. plot_privatforbrug <- ggplot()+
  2. geom_line(pf, mapping = aes(x= year, y = privatforbrug/privatforbrug[13]*100 ))+
  3. #geom_line(pf, mapping = aes(x = year, y = bnp))+
  4. labs(x = "Årstal", y= "Forbrug i pct.",
  5. title = "Privatforbruget i faste priser (1995-2018)",
  6. subtitle = "Figur 4.3 index 2007 = 100",
  7. caption = "Kilde: Danmarks statistik")+
  8. theme_minimal()+
  9. theme(text = element_text(size = 12 ),
  10. axis.text.x = element_text(angle=90, vjust=0.5))+
  11. scale_x_continuous(breaks = 1995:2018)
  12.  
  13. plot_privatforbrug
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement