| summarise {m61r} | R Documentation |
Summarise formula on groups
Description
Summarise of formulas on a data.frame.
Usage
summarise_(df, group = NULL, ...)
Arguments
df |
data.frame |
group |
formula that describes the group |
... |
formulas to be generated |
Value
summarise_() returns a data frame.
If argument group is not NULL, output get its first columns called according to the names present in argument group.
The following columns are called according to the name of each argument present in ....
Each row corresponds to processed expressions determined in ... for each group determined in group, or over the whole data frame if group is NULL.
Examples
summarise_(CO2,a=~mean(uptake),b=~sd(uptake))
summarise_(CO2, group=~c(Type,Treatment),a=~mean(uptake),b=~sd(uptake))
[Package m61r version 0.0.3 Index]