plot.inla {INLA} | R Documentation |
Takes am inla
object produced by inla
and plot the results
## S3 method for class 'inla' plot(x, plot.fixed.effects = TRUE, plot.lincomb = TRUE, plot.random.effects = TRUE, plot.hyperparameters = TRUE, plot.predictor = TRUE, plot.q = TRUE, plot.cpo = TRUE, plot.prior = FALSE, single = FALSE, postscript = FALSE, pdf = FALSE, prefix = "inla.plots/figure-", intern = FALSE, debug = FALSE, cex = 1.75, ...)
x |
A fitted |
plot.fixed.effects |
Boolean indicating if posterior marginals for the fixed effects in the model should be plotted |
plot.lincomb |
Boolean indicating if posterior marginals for the linear combinations should be plotted |
plot.random.effects |
Boolean indicating if posterior mean and quantiles for the random effects in the model should be plotted |
plot.hyperparameters |
Boolean indicating if posterior marginals for the hyperparameters in the model should be plotted |
plot.predictor |
Boolean indicating if posterior mean and quantiles for the linear predictor in the model should be plotted |
plot.q |
Boolean indicating if precision matrix should be displayed |
plot.cpo |
Boolean indicating if CPO/PIT valuesshould be plotted |
plot.prior |
Plot also the prior density for the hyperparameters |
single |
Boolean indicating if there should be more than one plot per page (FALSE) or just one (TRUE) |
postscript |
Boolean indicating if postscript files should be produced instead |
pdf |
Boolean indicating if PDF files should be produced instead |
prefix |
The prefix for the created files. Additional numbering and suffix is added. |
intern |
Plot also the hyperparameters in its internal scale. |
debug |
Write some debug information |
cex |
The |
... |
Additional arguments to |
The return value is a list of the files created (if any).
Havard Rue hrue@r-inla.org
## Not run: result = inla(...) plot(result) plot(result, single = TRUE, plot.prior = TRUE) plot(result, single = TRUE, pdf = TRUE, paper = "a4") ## End(Not run)