powered by
Adds a line plot to an existing plot.
# S3 method for gp lines(x, ...)
No value is returned.
A GP object, created by gp.
gp
Extra arguments to plotting functions.
Christopher Paciorek paciorek@alumni.cmu.edu
Type 'citation("spectralGP")' for references.
gp, simulate.gp, getgrid.gp, predict.gp
simulate.gp
getgrid.gp
predict.gp
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