50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


spectralGP (version 1.3.3)

lines.gp: 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

"lines"(x, ...)

Arguments

x
A GP object, created by gp.
...
Extra arguments to plotting functions.

Value

No value is returned.

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)
lines(gp1,col=2)

Run the code above in your browser using DataLab