Skip to contents

Draws a specification curve: every estimate sorted from smallest to largest, with confidence intervals, coloured by whether the interval excludes zero.

Usage

spec_curve(
  results,
  estimate = estimate,
  conf_low = conf.low,
  conf_high = conf.high
)

Arguments

results

A tibble of per-specification results with estimate and confidence-interval columns, for example from fit_multiverse().

estimate, conf_low, conf_high

<data-masking> columns for the estimate and its confidence bounds.

Value

A ggplot2 object.

Examples

if (FALSE) { # \dontrun{
spec_curve(results)
} # }