Learn R Programming

geoR (version 1.2-5)

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.

See Also

krige.bayes and sample.posterior.