Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- data <- gapminder %>%
- filter(continent %in% c("Africa", "Europe")) %>%
- group_by(continent, year) %>%
- summarise(total_pop = sum(pop))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement