Learn R Programming

RiskMap (version 1.0.0)

gp: Gaussian Process Model Specification

Description

Specifies the terms, smoothness, and nugget effect for a Gaussian Process (GP) model.

Usage

gp(..., kappa = 0.5, nugget = 0)

Value

A list of class gp.spec containing the following elements:

term

A character vector of the specified terms.

kappa

The smoothness parameter \(\kappa\).

nugget

The nugget effect.

dim

The number of specified terms.

label

A character string representing the full call for the GP model.

Arguments

...

Variables representing the spatial coordinates or covariates for the GP model.

kappa

The smoothness parameter \(\kappa\). Default is 0.5.

nugget

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.

Author

Emanuele Giorgi e.giorgi@lancaster.ac.uk

Claudio Fronterre c.fronterr@lancaster.ac.uk

Details

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.