Learn R Programming

ssd4mosaic (version 1.0.3)

add_CI_plot: 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)

Value

A ggplot object.

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).