format_quantiles_as_widths: Format a long summary of parameter quantiles (one record per...

View source: R/utils_draws.R

format_quantiles_as_widthsR Documentation

Format a long summary of parameter quantiles (one record per run, parameter, and quantile) into a wide format (one record per run, parameter, and interval-width)

Description

Format a long summary of parameter quantiles (one record per run, parameter, and quantile) into a wide format (one record per run, parameter, and interval-width)

Usage

format_quantiles_as_widths(df)

Arguments

df

a data.frame with quantile summary in long or denormalized format

Value

a data.frame with new fields (compatible with ggdist plotting functions): .width, .lower, .upper, and .value

Note

This function expects a data.frame in the format returned by fetch_quantiles.


generable/rgeco documentation built on Oct. 16, 2024, 2:45 a.m.