summarise_each: Summarise and mutate multiple columns.

Description Usage Arguments Details

View source: R/colwise.R

Description

Apply one or more functions to one or more columns. Grouping variables are always excluded from modification.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11

Arguments

tbl

a tbl

funs

List of function calls, generated by funs, or a character vector of function names.

vars, ...

Variables to include/exclude in mutate/summarise. You can use same specifications as in select. If missing, defaults to all non-grouping variables.

For standard evaluation versions (ending in _) these can be either a list of expressions or a character vector.

Details

In the future mutate_each() and summarise_each() will be deprecated in favour of a more featureful family of functions: mutate_all(), mutate_at(), mutate_if(), summarise_all(), summarise_at() and summarise_if().


sctyner/dplyr050 documentation built on May 17, 2019, 2:22 p.m.