calcCIs: Compute confidence intervals from cv's or standard deviations

View source: R/calcCIs.R

calcCIsR Documentation

Compute confidence intervals from cv's or standard deviations

Description

Function to compute confidence intervals.

Usage

calcCIs(
  vals,
  cvs = NULL,
  sdvs = NULL,
  pdfType = c("lognormal", "normal"),
  ci = 0.95,
  verbose = FALSE
)

Arguments

vals
  • vector of values

cvs
  • vector of cvs

sdvs
  • vector of arithmetic-scale standard deviations

pdfType
  • probability distribution for error bars

ci
  • confidence interval for error bar plots

verbose
  • flag (T/F) to print intermediate output

Details

None.

Value

list with vectors lci, uci as named elements


wStockhausen/wtsUtilities documentation built on March 16, 2024, 10:38 a.m.