plot.gaussianProcess: Plot the predictive distribution of new data. Only works with...

Description Usage Arguments

Description

Plot the predictive distribution of new data. Only works with 1 dimension

Usage

1
2
3
4
5
## S3 method for class 'gaussianProcess'
plot(gp, x.min, x.max, by = 0.1,
  plot.points = TRUE, plot.mean = TRUE, plot.int = TRUE,
  plot.samples = FALSE, plot.predictive = FALSE, int.size = 1.96,
  n.samples = 10)

Arguments

gp

gaussianProcess object

x.min

Lowest x value to plot

x.max

Highest x value to plot

by

Spacing for x values, defaults to 0.1

plot.points

Whether to plot the data as well, defaults to False

plot.mean

Whether to plot the mean of the process

plot.int

Whether to plot an interval around the mean

plot.samples

Whether to plot samples

plot.predictive

Whether to plot the posterior predictive

int.size

Posterior intervals are mean +- int.size * var, defaults to 1.96

n.samples

Number of samples to plot


ebenmichael/gaussianProcess documentation built on May 15, 2019, 7:30 p.m.