View source: R/get_intervals.R
get_intervals | R Documentation |
Summarise a dataframe to mean, medians, and CIs
get_intervals(df, y, type = "hdci")
df |
Dataframe; if grouped, output is by group |
y |
Variable to summarise |
type |
Type of CI; either "hdci" or "qi", using the corresponding function from tidybayes |
Summarised dataframe with columns mn, med, L025, L05, L10, L25, L75, L90, L95, and L975, and either a single row or one row per group
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.