Description Usage Arguments Details Value
Function to calculate log-prior distribution for plotting based on an input pdfType list.
1 | calcLogPrior(pdfType, v = NULL, x = NULL, lci = 0.05, uci = 0.95)
|
pdfType |
- the pdfType list |
v |
- values at which to calculate the prior values |
x |
- vector of x coordinates used to plot the resulting distribution as a color image |
lci |
- lower confidence interval for plotting the prior (if v is NULL) |
uci |
- upper confidence interval for plotting the prior (if v is NULL) |
If x is NULL, the function returns values of the log-prior distribution function calculated using v (or coordinates based on the confidence interval). The names of the vector provide the values of v at which the log prior was calculated. If x is given, the function returns a list object of class 'pdfRects', with list elements lp, xl, xr, vl, and vr.
see details
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.