Learn R Programming

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

spectralGP (version 1.3.1)

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.1

License

GPL (>= 2)

Maintainer

Chris Paciorek

Last Published

November 17th, 2012

Functions in spectralGP (1.3.1)

change.param.gp

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

Add a line plot for a one-dimensional process based on a spectral GP object
updateprocess.gp

Recalculate process values in a spectral GP object
points.gp

Add points for a one-dimensional process based on a spectral GP object
logdensity.gp

Calculates log prior density of a spectral GP object
gp

Create a new GP object
expand.gpgrid.gp

Calculate grid locations for a spectral GP object.
add.blocks.gp

Adds coefficient block structure to a spectral GP object
is.gp

Test if object is a spectral GP
image.plot

Draws image plot with a legend strip for the color scale.
matern.specdens

Matern correlation spectral density function
zero.coeff.gp

Sets coefficients to zero in a spectral GP object
xy2unit

Scales locations to the unit hypercube for use in spectral GP
spectralGP-generic

spectralGP generic functions
print.gp

Spectral GP default print statement
spectralGP

spectralGP - tools for specifying Gaussian processes using the computationally efficient Fourier basis
rdist.earth

Great circle distance matrix
calc.variances.gp

Calculates prior variances of coefficients in a spectral GP object
lonlat2xy

Projects lon/lat coordinates to x/y Euclidean coordinate system
propose.coeff.gp

Proposes new coeffients in a spectral GP object.
Hastings.coeff.gp

Calculates Hastings value of coefficients
names.gp

The names of the elements of a GP object
Gibbs.sample.coeff.gp

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

Copy a spectral GP object.
predict.gp

Prediction from a spectral GP object
getgrid.gp

Calculates the gridpoints in a spectral GP object
new.mapping

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

Simulates a process realization from a spectral GP object
plot.gp

Plot a process based on a spectral GP object
image_plot

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