View source: R/postprocessing.R
priorposterior | R Documentation |
A function to produce plots of the prior (which shows as a red line) and posterior (showing as a histogram)
priorposterior(
x,
breaks = 30,
ylab = "Density",
main = "",
pause = TRUE,
bw = FALSE,
...
)
x |
an object inheriting class mcmcspatsurv |
breaks |
see ?hist |
ylab |
optional y label |
main |
optional title |
pause |
logical whether to pause between plots, the default is TRUE |
bw |
Logical. Plot in black/white/greyscale? Default is to produce a colour plot. Useful for producing plots for journals that do not accept colour plots. |
... |
other arguments passed to the hist function |
plots of the prior (red line) and posterior (histogram).
print.mcmcspatsurv, quantile.mcmcspatsurv, summary.mcmcspatsurv, vcov.mcmcspatsurv, frailtylag1, spatialpars, hazardpars, fixedpars, randompars, baselinehazard, predict.mcmcspatsurv, posteriorcov, MCE, hazardexceedance
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.