Files corresponding to Short Course: Introduction to Data Science Using R
We’ll continue to work on the same .Rmd file from the previous exercise.
geom_line()
) that looks like the one below.names <- c("Justin", "George", "Alexander", "Jacob", "Anderson")
lineData <- BabyNamesFull %>%
filter(name %in% names) %>%
group_by(name, year) %>%
summarise(total = sum(count))
## `summarise()` has grouped output by 'name'. You can override using the `.groups` argument.