is.gp: Test if object is a spectral GP

is.gpR 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)

spectralGP documentation built on Feb. 6, 2026, 1:07 a.m.

Related to is.gp in spectralGP...