Learn R Programming

geoR (version 1.9-4)

sample.posterior: Samples from the posterior distribution

Description

Sample quadruples \((\beta, \sigma^2, \phi, \tau^2_{rel})\) from the posterior distribution returned by krige.bayes.

Usage

sample.posterior(n, kb.obj)

Value

A \(n \times 4\) data-frame with samples from the posterior distribution of the model parameters.

Arguments

n

number of samples

kb.obj

on object with an output of krige.bayes.

Author

Paulo J. Ribeiro Jr. paulojus@leg.ufpr.br,
Peter J. Diggle p.diggle@lancaster.ac.uk.

References

Further information on the package geoR can be found at:
http://www.leg.ufpr.br/geoR/.

See Also

krige.bayes and sample.posterior.