Description Usage Arguments Value Examples
used as a helper function for f_stat_anova
1 | f_stat_diff_of_means_medians(df, col_group, col_variable)
|
df |
dataframe |
col_group |
character vector denoting grouping variable |
col_variable |
character vector denoting variable |
dataframe
1 2 3 4 5 6 7 8 9 10 11 12 | set.seed(1)
df = tibble( fct = sample(LETTERS[1:5], 100, replace = T)
, v1 = 1
, v2 = rnorm(100, 4)
, v3 = c( rep(3, 50), rep(8,50) )
)
col_group = 'fct'
f_stat_diff_of_means_medians(df, col_group, 'v1') %>%
bind_rows( f_stat_diff_of_means_medians(df, col_group, 'v2') ) %>%
bind_rows( f_stat_diff_of_means_medians(df, col_group, 'v3') )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.