Learn R Programming

spectralGP (version 1.3.3)

is.gp: 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.

References

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

See Also

gp

Examples

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

Run the code above in your browser using DataLab