plot.Siid | R Documentation |
Density plots with simultaenous error bars around means and quantiles for iid data.
## S3 method for class 'Siid'
plot(x, Q = c(0.1, 0.9), alpha = 0.05, thresh = 0.001,
rug = TRUE, plot = TRUE, mean = TRUE, border = NA,
mean.col = 'plum4', quan.col = 'lightsteelblue3',
opaq = 0.7, auto.layout = TRUE,
ask = dev.interactive(), ...)
x |
: a ‘Siid’ class object |
Q |
: vector of quantiles |
alpha |
: confidence level of simultaneous confidence intervals |
thresh |
: numeric typically less than .005 for the accuracy of the simulteaneous procedure |
rug |
: logical indicating whether a rug plot is desired |
plot |
: logical argument for is plots are to be returned |
mean |
: logical argument whether the mean is to be plotted |
border |
: whether a border is required for the simultaneous confidence intervals |
mean.col |
: color for the mean confidence interval |
quan.col |
: color for the quantile confidence intervals |
opaq |
: opacity of |
auto.layout |
: logical argument for an automatic layout of plots |
ask |
: activating interactive plots |
... |
: arguments passed on to the |
returns a plot of the univariate density estimates with simultaneous
confidence intervals wherever asked. If plot == FALSE
a list of
estimates and simultaneous confidence intervals.
Robertson, N., Flegal, J. M., Vats, D., and Jones, G. L., “Assessing and Visualizing Simultaneous Simulation Error”, Journal of Computational and Graphical Statistics, 2020.
# Generating iid data
chain <- matrix(rnorm(3*1e3), nrow = 1e3, ncol = 3)
siid.obj <- Siid(chain)
plot(siid.obj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.