add.boot.conf: Add Bootstrapped Confidence Intervals

View source: R/statistics.plot.R

add.boot.confR Documentation

Add Bootstrapped Confidence Intervals

Usage

add.boot.conf(
  model,
  x = NULL,
  col = "#55555540",
  conf = c(0.025, 0.975),
  border = FALSE,
  trendline = FALSE,
  n = 1000,
  ...
)

Arguments

model

A bootstrap object (i.e. a dataframe) containing bootstrapped estimates of m and b.

col

The desired color of the confidence band. We recomend colors with transparency for plotting.

conf

The quantile ranges for the plotting (default is 95

\item

borderDo you want a border on the shaded confidence interval?

\item

trendlineShould the maximum liklihood values be plotted as a trendline?

\item

new.xThe x values for which predictions are required.

Add confidence bands to a figure based on results of a bootstrap. Thomas Bryce Kelly Statistics Uncertainty


tbrycekelly/TheSource documentation built on Nov. 7, 2023, 12:48 a.m.