boxCI: Add simultaneous confidence interval to existing boxplot

View source: R/export.R

boxCIR Documentation

Add simultaneous confidence interval to existing boxplot

Description

Adds simultaneous confidence intervals for quantiles to an existing boxplot.

Usage

boxCI(x, CI, component = c(1), dimn = 1, 
               quan.color = 'lightsteelblue3', horizontal = FALSE)

Arguments

x

: a ‘Smcmc’ class object

CI

: the output from the 'getCI' function with 'iid = TRUE'

component

: vector indicating which components to draw the confidence intervals for

dimn

: numeric for how many components are being plotted

quan.color

: color for the quantile confidence intervals

horizontal

: logical for whether boxplots are horizontal

Value

adds segments for confidence intervals into an already existing plot environment

Examples

output <- matrix(rnorm(3*1e3), nrow = 1e3, ncol = 3)


dvats/SimTools documentation built on May 14, 2023, 1:28 p.m.