Description Usage Arguments Examples
View source: R/summary_stat_funs.R
Calculate the mean or standard deviation of a variable in a tibble
1 | get_summ_stat(data, summary_fun, summary_var, ..., num_digits = 2)
|
data |
A tibble (formatted data from exp 1, 2, or 3) |
summary_fun |
The summary function you want to apply |
summary_var |
The variable you want to summarise |
... |
Any criteria you want to filter by |
num_digits |
The number of significant digits you want to round the result of summary_fun() to. Default is 2 |
1 | get_summ_stat(three_toy_tidy, mean, age, condition == "Broken Button", num_digits = 3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.