knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "README-"
)

tie

bow and tie can be combined to do something similar to dplyr::summarise, but allowing to express how to redistribute parts of the results to their own column.

library(tie)

iris %>% 
  dplyr::group_by(Species) %>% 
  bow( tie(min, max) := range(Sepal.Length) )


romainfrancois/tie documentation built on May 12, 2019, 8:45 a.m.