gp.condsim {GPBayes}R Documentation

Perform conditional simulation from a Gaussian process

Description

This function simulate from the Gaussian process model conditional on existing data (i.e., locations, observations). This is known as conditional simulation in geostatistics, which simulates realizations from the (posterior) predictive distribution of the process given the data.

Usage

gp.condsim(obj, XX, nsample = 1, seed = NULL)

Arguments

obj

an S4 object gp

XX

a matrix of new locations where conditional simulation is performed.

nsample

number of conditional simulations default at 1

seed

random generation seed default to be NULL.

Value

an array (vector or matrix) of conditional simulations


[Package GPBayes version 0.1.0-6 Index]