tidyverse / funs

Collection of low-level functions for working with vctrs
Other
34 stars 7 forks source link

colwise functions #25

Closed hadley closed 4 years ago

hadley commented 5 years ago

To match #5

Would only be usable in mutate-like contexts, but would take a variable selection as the first argument.

df %>% summarise(col_mean(everything()))

Return a tibble, to work with https://github.com/tidyverse/dplyr/issues/2326

hadley commented 4 years ago

I think we've now moved away from this idea in favour of an explicit across()