Confidence intervals are determined as percentiles (default 10 and 90). If the correcpsonding average value is less than the low point then we set the lower point to the minimum value. Conversely if the average value is higher than the upper limit then we set the upper limit to the max value.
1 2 | confidenceInterval(calcMethod = "weighted", dataValue = as.numeric(),
dataWeights = as.numeric(), pValues = c(0.1, 0.9), na.rm = FALSE)
|
calcMethod |
Calculation method. Can be one of "weighted", "robust" or "average" |
dataValue |
Vector of values to calculate confidence interval for |
dataWeights |
Vector of weights for weighted calculation |
pValues |
Vector of percentiles for the confidence interval. Defaults to
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.