Closed sharlagelfand closed 3 years ago
Right now e.g. group_by(work, degree) only visualizes the second grouping variable if summarise() is also used afterwards - should show the grouping by both variables just from group_by(work, degree)
datamation_sanddance("small_salary %>% group_by(Work, Degree) %>% summarise(mean = mean(Salary))", output = "summarise.gif", nframes = 5)
vs
datamation_sanddance("small_salary %>% group_by(Work, Degree)", output = "group.gif", nframes = 5)
This is all good - just gonna close.
Right now e.g. group_by(work, degree) only visualizes the second grouping variable if summarise() is also used afterwards - should show the grouping by both variables just from group_by(work, degree)
datamation_sanddance("small_salary %>% group_by(Work, Degree) %>% summarise(mean = mean(Salary))", output = "summarise.gif", nframes = 5)
vs
datamation_sanddance("small_salary %>% group_by(Work, Degree)", output = "group.gif", nframes = 5)