Learn R Programming

krige (version 0.6.2)

burnin: Discard Burn-in Period of Kriging Model

Description

Discard burn-in period of a estimated model from metropolis.krige

Usage

burnin(object, n.burnin)

# S3 method for krige burnin(object, n.burnin = object$n.iter/2)

# S3 method for matrix burnin(object, n.burnin = nrow(object)/2)

Arguments

object

An krige object from the metropolis.krige function.

n.burnin

The number of burnin iterations. Defaults to half of the iterations.

Details

The function discard the burn-in period from the results of metropolis.krige. It is generally used for discarding burn-in for krige object that keeps all the iterations.