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
For technical details, see Paciorek, C.J. 2006. Bayesian Smoothing of Irregularly-spaced Data Using Fourier Basis Functions. Harvard University Biostatistics Working Paper Series. Working Paper 49. http://www.bepress.com/harvardbiostat/paper49
library(spectralGP) gp1=gp(128,matern.specdens,c(1,4)) is.gp(gp1)