add_CI_plot: Add confidence interval(s) to an existing fitted distribution...

View source: R/fct_ci_plots.R

add_CI_plotR Documentation

Add confidence interval(s) to an existing fitted distribution ggplot

Description

Add confidence interval(s) to an existing fitted distribution ggplot

Usage

add_CI_plot(base_plot, bts, logscale, CI.level = 0.95)

Arguments

base_plot

A ggplot object that depicts the fit(s) of the bootstrap(s).

bts

A list of bootdist or bootdistcens objects.

logscale

if TRUE, uses a logarithmic scale for the x-axis

CI.level

A strictly positive numeric smaller than 1. The level of the confidence interval(s).

Value

A ggplot object.


ssd4mosaic documentation built on April 4, 2025, 1:42 a.m.