View source: R/get_sum_stats.R
| get_sum_stats | R Documentation |
Calculate summary statistics
get_sum_stats(
df,
sum_vars,
group_vars = NULL,
sum_funcs = list(mean = base::mean, sd = stats::sd, median = stats::median, iqr =
stats::IQR)
)
df |
a |
sum_vars |
|
group_vars |
|
sum_funcs |
either function or list of functions. By default, uses
|
tibble object containing summarized data.
David Zhang https://github.com/dzhang32/rutils
iris_summary <-
get_sum_stats(
iris,
sum_vars = "Sepal.Length",
group_vars = "Species"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.