Learn R Programming

⚠️There's a newer version (1.3.4) of this package.Take me there.

spectralGP (version 1.3.2)

Approximate Gaussian processes Using the Fourier Basis

Description

Routines for creating, manipulating, and performing Bayesian inference about Gaussian processes in one and two dimensions using the Fourier basis approximation: simulation and plotting of processes, calculation of coefficient variances, calculation of process density, coefficient proposals (for use in MCMC). It uses R environments to store GP objects as references/pointers.

Copy Link

Version

Install

install.packages('spectralGP')

Monthly Downloads

160

Version

1.3.2

License

GPL (>= 2)

Maintainer

Chris Paciorek

Last Published

December 5th, 2014

Functions in spectralGP (1.3.2)

predict.gp

Prediction from a spectral GP object
lines.gp

Add a line plot for a one-dimensional process based on a spectral GP object
xy2unit

Scales locations to the unit hypercube for use in spectral GP
zero.coeff.gp

Sets coefficients to zero in a spectral GP object
points.gp

Add points for a one-dimensional process based on a spectral GP object
rdist.earth

Great circle distance matrix
lonlat2xy

Projects lon/lat coordinates to x/y Euclidean coordinate system
change.param.gp

Changes correlation function parameter values of a spectral GP object
updateprocess.gp

Recalculate process values in a spectral GP object
gp

Create a new GP object
copy.gp

Copy a spectral GP object.
new.mapping

Map arbitrary locations to gridpoints of spectral GP object
plot.gp

Plot a process based on a spectral GP object
logdensity.gp

Calculates log prior density of a spectral GP object
simulate.gp

Simulates a process realization from a spectral GP object
spectralGP

spectralGP - tools for specifying Gaussian processes using the computationally efficient Fourier basis
propose.coeff.gp

Proposes new coeffients in a spectral GP object.
getgrid.gp

Calculates the gridpoints in a spectral GP object
add.blocks.gp

Adds coefficient block structure to a spectral GP object
Hastings.coeff.gp

Calculates Hastings value of coefficients
names.gp

The names of the elements of a GP object
image.plot

Draws image plot with a legend strip for the color scale.
spectralGP-generic

spectralGP generic functions
print.gp

Spectral GP default print statement
calc.variances.gp

Calculates prior variances of coefficients in a spectral GP object
matern.specdens

Matern correlation spectral density function
expand.gpgrid.gp

Calculate grid locations for a spectral GP object.
Gibbs.sample.coeff.gp

Samples new coeffients via Gibbs sampling in a spectral GP object.
is.gp

Test if object is a spectral GP