Specifies the terms, smoothness, and nugget effect for a Gaussian Process (GP) model.
gp(..., kappa = 0.5, nugget = 0)A list of class gp.spec containing the following elements:
A character vector of the specified terms.
The smoothness parameter \(\kappa\).
The nugget effect.
The number of specified terms.
A character string representing the full call for the GP model.
Variables representing the spatial coordinates or covariates for the GP model.
The smoothness parameter \(\kappa\). Default is 0.5.
The nugget effect, which represents the variance of the measurement error. Default is 0. A positive numeric value must be provided if not using the default.
Emanuele Giorgi e.giorgi@lancaster.ac.uk
Claudio Fronterre c.fronterr@lancaster.ac.uk
The function constructs a list that includes the specified terms (spatial coordinates or covariates), the smoothness parameter \(\kappa\), and the nugget effect. This list can be used as a specification for a Gaussian Process model.