dot-add_ci_lines: Add Confidence Interval Lines to Orchard Plot

.add_ci_linesR Documentation

Add Confidence Interval Lines to Orchard Plot

Description

Internal function that creates a ggplot2 layer to add horizontal lines corresponding to the original model's 95

Usage

.add_ci_lines(orig_results, ci_lines_color)

Arguments

orig_results

A data frame containing the original model's estimates. It must include the columns lowerCL and upperCL representing the lower and upper confidence limits, respectively.

ci_lines_color

Character string specifying the color for the confidence interval lines.

Details

These lines help visualize how the leave-one-out effect size estimates compare to the overall model estimate.

Value

A ggplot2 layer (via geom_hline) that can be added to a plot.

Author(s)

Facundo Decunta - fdecunta@agro.uba.ar


daniel1noble/orchaRd documentation built on April 17, 2025, 3:59 a.m.