Learn R Programming

gptk (version 1.0)

gpPlot: Gaussian Process Plotter

Description

Plots the GP mean and variance.

Usage

gpPlot(model, Xstar, mu, S, simpose=NULL,xlim=NULL,ylim=NULL,xlab='',ylab='',col='blue',title='')

Arguments

model
the model structure for which GP mean and variance are to be plotted.
Xstar
the input positions for which the mean and variance will be plotted.
mu
the precomputed GP posterior mean vector.
S
the precomputed GP posterior variance vector.
simpose
vector of datapoints to be superimposed on the plot with added white noise.
xlim
x-axis plotting limits.
ylim
y-axis plotting limits.
xlab
x-axis label.
ylab
y-axis label.
col
color for plotting the GP mean and variance.
title
plot title.

See Also

gpPosteriorMeanVar, polygon, zeroAxes.