Description Usage Arguments Value Examples
View source: R/group_summarize.R
group_summarize performs descriptive statistics for each group in a data set.
The function takes as input a data.frame or tibble, the column names of grouping variables, and the column names of variables of interest.
1 | group_summarize(x, group_cols, var_cols, output_format = "v1", ...)
|
x |
A data.frame or tibble. |
group_cols |
Vector of the names of the grouping columns. |
var_cols |
Vector of the names of the variables of interest. |
output_format |
The version of the output format (v0 or v1). |
... |
Extra arguments passed to fxn, i.e. na.rm = FALSE, etc. |
A tibble
A group_summary object with slots for the results, grouping variables, variables of interest, and any other parameters passed in.
1 | group_summarize(iris, "Species", c("Sepal.Length", "Sepal.Width"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.