hist.glm.krige.bayes: Plots Sample from Posterior Distributions

Description Usage Arguments Value Author(s) See Also Examples

Description

Plots histograms and/or density estimation with samples from the posterior distribution of the model parameters for output from the functions binom.krige.bayes and pois.krige.bayes

Usage

1
2
## S3 method for class 'glm.krige.bayes'
hist(x, pars, density.est = TRUE, histogram = TRUE, ...)

Arguments

x

an object of the class glm.krige.bayes, with an output from the funtions binom.krige.bayes or pois.krige.bayes.

pars

a vector with the names of one or more of the model parameters. Defaults to all model parameters.

density.est

logical indication whether a line with the density estimation should be added to the plot.

histogram

logical indicating whether the histogram is included in the plot.

...

further arguments for the plotting functions and or for the density estimation.

Value

Produces a plot in the currently graphics device.
Returns an invisible list with the components:

histogram

with the output of the function hist for each parameter

density.estimation

with the output of the function density for each parameter

Author(s)

Ole F. Christensen OleF.Christensen@agrsci.dk,
Paulo J. Ribeiro Jr. Paulo.Ribeiro@est.ufpr.br.

See Also

binom.krige.bayes, pois.krige.bayes, hist.krige.bayes.

Examples

1
## See documentation for binom.krige.bayes and pois.krige.bayes

geoRglm documentation built on May 2, 2019, 4:03 p.m.