Learn R Programming

geoR (version 1.7-5.2.1)

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)

Arguments

n

number of samples

kb.obj

on object with an output of krige.bayes.

Value

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

References

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

See Also

krige.bayes and sample.posterior.