num=n (what is n???) babynames %>% filter(name %in% c("Jane","Mary")) %>% # just the Janes and Marys group_by(name, year) %>% # for each year for each name summarise(count = sum(n)) name year count (chr) (dbl) (int) 1 Jane 1880 215 2 Jane 1881 216 3 Jane 1882 254 4 Jane 1883 247 5 Jane 1884 295
num=n (what is n???) babynames %>% filter(name %in% c("Jane","Mary")) %>% # just the Janes and Marys group_by(name, year) %>% # for each year for each name summarise(count = sum(n)) name year count (chr) (dbl) (int) 1 Jane 1880 215 2 Jane 1881 216 3 Jane 1882 254 4 Jane 1883 247 5 Jane 1884 295
iClickMath154_f17_topost.docx