is.gp {spectralGP} | R Documentation |
Tests if the argument is a spectral GP object.
is.gp(object)
object |
A GP object, created by gp . |
Returns 'TRUE' if the argument is a gp, and 'FALSE' otherwise.
Christopher Paciorek paciorek@alumni.cmu.edu
Type 'citation("spectralGP")' for references.
library(spectralGP) gp1=gp(128,matern.specdens,c(1,4)) is.gp(gp1)