Learn R Programming

spectralGP (version 1.3.4)

points.gp: Add points for a one-dimensional process based on a spectral GP object

Description

Adds points to an existing plot.

Usage

# S3 method for gp
points(x, ...)

Value

No value is returned.

Arguments

x

A GP object, created by gp.

...

Extra arguments to plotting functions.

Author

Christopher Paciorek paciorek@alumni.cmu.edu

References

Type 'citation("spectralGP")' for references.

See Also

gp, simulate.gp, getgrid.gp, predict.gp

Examples

Run this code
library(spectralGP)
gp1=gp(c(128),matern.specdens,c(1,4))
simulate(gp1)
plot(gp1)
simulate(gp1)
points(gp1,col=2)

Run the code above in your browser using DataLab