Learn R Programming

spectralGP (version 1.3.4)

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

Description

Gives the names of the elements of the GP object.

Usage

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

Value

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

Arguments

x

Spectral GP object.

...

Other arguments.

Author

Christopher Paciorek paciorek@alumni.cmu.edu

References

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

See Also

gp

Examples

Run this code
library(spectralGP)
gp1=gp(128,matern.specdens,c(1,4))
print(names(gp1))
add.blocks(gp1)
print(names(gp1))

Run the code above in your browser using DataLab