inst/snippet/pallets-perc.R

Pallets2 <-
  Pallets %>% 
  group_by(day) %>% mutate(total = sum(pallets)) %>%
  group_by(day, employee) %>% mutate(perc = 100 * pallets / total)
rpruim/fastR2 documentation built on Nov. 11, 2023, 7:32 a.m.