is.gp {spectralGP}R Documentation

Test if object is a spectral GP

Description

Tests if the argument is a spectral GP object.

Usage

is.gp(object)

Arguments

object A GP object, created by gp.

Details

Value

Returns 'TRUE' if the argument is a gp, and 'FALSE' otherwise.

Author(s)

Christopher Paciorek paciorek@alumni.cmu.edu

References

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

See Also

gp

Examples

library(spectralGP)
gp1=gp(128,matern.specdens,c(1,4))
is.gp(gp1)

[Package spectralGP version 1.0 Index]