Description Usage Arguments Details Author(s) See Also Examples
Plot the interpolated density of data (most likely results from a Monte Carlo
simulation or estimation) along with a confidence interval (specified by alpha
)
shadded in.
1 2 3 |
dist |
numeric vector for which density is to be plotted |
alpha |
critical value |
alternative |
specify whether to plot a two-sided CI, upper or lower |
col |
color for plotting |
lwd |
line width |
transp |
transparancy of shadded region |
add |
logical, whether to add to an existing plot |
... |
further arguments passed to |
This function can plot desnity and quantiles for any vector and would be well suited for bootstrapping, permutational null models and also credible intervals from Bayesian MCMC samples
Andy Rominger <ajrominger@gmail.com>
density, quantile
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.