Add a line plot for a one-dimensional process based on a spectral GP object

Description

Adds a line plot to an existing plot.

Usage

1
2
## S3 method for class 'gp'
lines(x, ...)

Arguments

x

A GP object, created by gp.

...

Extra arguments to plotting functions.

Value

No value is returned.

Author(s)

Christopher Paciorek paciorek@alumni.cmu.edu

References

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

See Also

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

Examples

1
2
3
4
5
6
library(spectralGP)
gp1=gp(c(128),matern.specdens,c(1,4))
simulate(gp1)
plot(gp1)
simulate(gp1)
lines(gp1,col=2)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.