makeCI: Quantile-based credible interval for a vector

Description Usage Arguments See Also Examples

View source: R/makeCI.R

Description

Function to calculate (two-sided) credible interval based on quantiles of a vector

Usage

1
makeCI(makeCI.vec, alpha = 0.05, na.rm = FALSE)

Arguments

makeCI.vec

Vector for which quantiles will be found

alpha

What Type I error level alpha should be used? Defaults to 0.05

na.rm

Should NAs be excluded? Defaults to FALSE

See Also

makeCIs

Examples

1
2
3
## 
my.vector = rnorm(n = 1000,mean = 0, sd = 10)
makeCI(my.vector)

lcomm/ltools documentation built on May 20, 2019, 11:28 p.m.