get_intervals: Summarise a dataframe to mean, medians, and CIs

View source: R/get_intervals.R

get_intervalsR Documentation

Summarise a dataframe to mean, medians, and CIs

Description

Summarise a dataframe to mean, medians, and CIs

Usage

get_intervals(df, y, type = "hdci")

Arguments

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

Value

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


Sz-Tim/sevcheck documentation built on Feb. 1, 2024, 12:39 a.m.