Plots histograms and/or density estimation with samples from the posterior distribution of the model parameters
# S3 method for krige.bayes
hist(x, pars, density.est = TRUE, histogram = TRUE, ...)
Produces a plot in the currently graphics device.
Returns a invisible
list with the components:
an object of the class krige.bayes
, with an output of
the funtions krige.bayes
.
a vector with the names of one or more of the model parameters. Defaults to all model parameters. Setting to -1 excludes the intercept.
logical indication whether a line with the density estimation should be added to the plot.
logical indicating whether the histogram is included in the plot.
further arguments for the plotting functions and or for the density estimation.
Paulo J. Ribeiro Jr. paulojus@leg.ufpr.br,
Peter J. Diggle p.diggle@lancaster.ac.uk.
## See documentation for krige.bayes()
Run the code above in your browser using DataLab