names.gp: The names of the elements of a GP object

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


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