inst/snippet/pallets-perc.R

Pallets2 <-
  Pallets %>% 
  group_by(day) %>% mutate(total = sum(pallets)) %>%
  group_by(day, employee) %>% mutate(perc = 100 * pallets / total)
rpruim/fastR documentation built on Nov. 12, 2023, 12:26 p.m.