summarise_each

0th

Percentile

Summarise and mutate multiple columns.

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

Usage
summarise_each(tbl, funs, ...)

summarise_each_(tbl, funs, vars)

summarize_each(tbl, funs, ...)

summarize_each_(tbl, funs, vars)

mutate_each(tbl, funs, ...)

mutate_each_(tbl, funs, vars)

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().

Aliases
  • mutate_each
  • mutate_each_
  • summarise_each
  • summarise_each_
  • summarize_each
  • summarize_each_
Documentation reproduced from package dplyr, version 0.5.0, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.