Description Usage Arguments Details Value Examples
returns the mean, sd, min and max of a list of variables. By default passes na.rm = TRUE. Respects grouping of input data.
1 | summarize_stats(tbl, ..., na.rm = TRUE)
|
tbl |
A tbl |
... |
variables to summarize |
na.rm |
logical value indicating whether NA values should be stripped before the computation proceeds. Default is TRUE |
This function respects grouping. If the tbl is grouped, the output will be as well.
a long table with one row per variable. Columns are variable, mean, sd, min and max.
1 2 | summarize_stats(airquality, Ozone, Solar.R, Wind, Temp)
summarize_stats(airquality %>% dplyr::group_by(Month), Ozone, Solar.R, Wind, Temp)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.