hayio
6/7/2015 - 1:08 PM

Summarizes (here by counting) each combination of grouped groups.

Summarizes (here by counting) each combination of grouped groups.

library(dplyr)

df <- purchases.segm %>%
  group_by(gender, segm.recruits, segm.points, days_up) %>%
  summarise(quantity=n())