Description Usage Arguments Author(s)
Simple plotting function to visualize the inverse gamma prior for variance parameters.
1 | plotigammaprior(vec, xlimit = c(0, 100), nsamp = 10000, sd = T)
|
vec |
vector of length 2, with parameters of inverse gamma |
xlimit |
limit of x-axis on the plot. |
nsamp |
number of samples for plot, default is usually okay. |
sd |
if sd=T, plots the standard deviation. if sd=F, plots the variance. |
Lauren
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.