Learn R Programming

gptk (version 1.06)

demInterpolation: Gaussian Process Interpolation Demo

Description

Plots, consecutively, an increasing number of data points, followed by an interpolated fit through the data points using a Gaussian process. This is a noiseless system, and the data is sampled from a GP with a known covariance function. The curve is then recovered with minimal uncertainty after only nine data points are included.

Usage

demInterpolation(path=getwd(), filename='demInterpolation', png=FALSE, gif=FALSE)

Arguments

path
path where the plot images are saved.
filename
name of saved images.
png
save image as png.
gif
save series of images as animated gif.

See Also

gpOptions, kernCreate, kernCompute, gaussSamp, kernDiagCompute, gpCreate, gpPlot.