rangePlot | R Documentation |
Confidence intervals (CI) consisting of an estimate, upper, and lower limit
from Monte-Carlo sampling (given that the statistical hypothesis is true) are
arranged according to orderFun
and compared with the hypothesized
(true) value of the statistic to examine statistical coverage and bias of CI
rangePlot(
tf,
target = "sampleMean",
orderFun = slug,
conf = 0.95,
opacity = 0.2,
fatten = 0.1,
title = "Range plot",
targNum = 1000
)
tf |
Dataframe with parameter estimate, CI upper and lower limits. |
target |
scalar, value of statistic under (true) hypothesis, or "sampleMean", default, which calculates the sample mean. |
orderFun |
one of |
conf |
scalar in [0,1], nominal confidence level of simulated CI |
opacity |
scalar value for |
fatten |
scalar passed to |
title |
character vector for ggtitle |
targNum |
desired number of lines on graph, for dynamic data thinning |
a ggplot object with simulated CI arranged about their target value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.