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.

Value

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

Author(s)

Christopher Paciorek paciorek@alumni.cmu.edu

References

Type 'citation("spectralGP")' for references.

See Also

gp

Examples

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

[Package spectralGP version 1.3.3 Index]