summarise: Reduce multiple values down to a single value
Description
Create one or more scalar variables summarising the variables of an existing data.frame. Grouped data.frames will
result in one row in the output for each group.
Usage
summarise(.data, ...)
summarize(.data, ...)
Arguments
.data
A data.frame.
...
Name-value pairs of summary functions. The name will be the name of the variable in the result.
The value can be:
A vector of length 1, e.g. min(x), n(), or sum(is.na(y)).