sample.posterior {geoR} | R Documentation

## 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 x 4 data-frame with samples from the posterior distribution of the model parameters.

### Author(s)

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`.

[Package geoR version 1.6-19 Index]