Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
data %>%
select(center_type,num_orders) %>%
filter(center_type=="TYPE_A") %>%
summarise(avg_A=mean(num_orders))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment