names.gp {spectralGP}R Documentation

The names of the elements of a GP object

Description

Gives the names of the elements of the GP object.

Usage

## S3 method for class 'gp'
names(x,...)

Arguments

x

Spectral GP object.

...

Other arguments.

Value

A vector of strings of the names of the elements of the GP object.

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))
print(names(gp1))
add.blocks(gp1)
print(names(gp1))


[Package spectralGP version 1.3.3 Index]