This R package offers an engine for fitting Gaussian Process (GP) models, with the following features:
-
The Gaussian process can act as a latent variable in the model, as a part of arbitrary user-defined likelihood.
-
User defines the Gaussian process using a formula, as a sum of covariance functions. The GP thus can have multiple components and make predictions, including standard errors, for the whole model, or for each component separately.
-
User defines the likelihood the same way as in the RTMB package, which is used for automatic differentiation (not for model fitting though).
-
The package has its own fitting engine, which uses Laplace approximation.
Install the package directly from github:
library(devtools)
install_github("https://github.com/telenskyt/gp/")You can also clone the github repository like this:
git clone https://github.com/telenskyt/gp/
See the vignette A simple example for introduction to the package.