Description Usage Arguments Value Examples
View source: R/dog_group_stat2.R
This function can group by more than one variable.
1 | dog_group_stat2(df, summary_var, .f, ...)
|
df |
A data frame |
summary_var |
The variable used inside dplyr::summarise, e.g. gns = mean(mpg) |
.f |
The function used in summarise, e.g. mean, or length. |
... |
Used to group by more than one variable. |
A tibble
1 | dog_group_stat2(df = mtcars, summary_var = mpg, .f = mean, am, vs)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.