Skip to content

Instantly share code, notes, and snippets.

@dickoa
Created August 29, 2024 07:15
Show Gist options
  • Save dickoa/d8d3237d3c06a262f3f909377593e7f6 to your computer and use it in GitHub Desktop.
Save dickoa/d8d3237d3c06a262f3f909377593e7f6 to your computer and use it in GitHub Desktop.
Intro R code to copy
library(tidyverse) # copy this part only if you don't have it yet
pop <- tibble(year = rep(2023, 5),
coa = c("Sudan", "Burkina Faso", "DRC", "Syria", "Yemen"),
pop = c(47.5, 22.9, 103.2, 22.1, 33.7),
idp = c(9.1, 2.3, 6.3, 7.2, 4.5))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment