Open mbcann01 opened 6 years ago
Also, can't call variable "n"
This doesn't work:
aps_its %>%
group_by(study_week, group) %>%
summarise(n = n()) %>%
group_by(group) %>%
mean_table(n)
But, this does:
aps_its %>%
group_by(study_week, group) %>%
summarise(n = n()) %>%
group_by(group) %>%
mutate(count = n) %>%
mean_table(count)
This doesn't work:
But this does work: