Learn R Programming

nsgp (version 1.0.5)

plot.gpsimple: Plot a simple gaussian process

Description

Plots a gaussian process. Several boolean parameters for modifying the plot. By default plots the data, posterior mean and 95% interval.

Usage

"plot"(x, y = NULL, plotdata = TRUE, plotmean = TRUE, plotcov = TRUE, plotnoise = FALSE, samples = 0, sigma = 2, title = NULL, legend = FALSE, plotgradient = TRUE, ...)

Arguments

x
the gp-object
y
placeholder variable
plotdata
plot the data (default)
plotmean
plot the GP mean (default)
plotcov
plot the GP covariances (default)
plotnoise
plot the observational noise (default)
samples
plot N samples from the GP
sigma
variance level to plot
title
plot title
legend
plot legend
plotgradient
use gradient graphics
...
...