Learn R Programming

gptk (version 1.0)

gpSample: Plot Samples from a GP.

Description

creates a plot of samples from a kernel with the given parameters and variance.

Usage

gpSample(kernType, numSamps=10, params=NULL, lims=c(-3,3), path=getwd())

Arguments

kernType
the type of kernel to sample from.
numSamps
the number of samples to take.
params
parameter vector for the kernel.
lims
limits of the x axis.
path
path where the plot images are saved.

See Also

gpOptions.