Learn R Programming

RiskMap (version 1.0.0)

matern.grad.phi: First Derivative with Respect to \(\phi\)

Description

Computes the first derivative of the Matern correlation function with respect to \(\phi\).

Usage

matern.grad.phi(U, phi, kappa)

Value

A matrix with the values of the first derivative of the Matern function with respect to \(\phi\) for the given distances.

Arguments

U

A vector of distances between pairs of data locations.

phi

The scale parameter \(\phi\).

kappa

The smoothness parameter \(\kappa\).

Author

Emanuele Giorgi e.giorgi@lancaster.ac.uk

Claudio Fronterre c.fronterr@lancaster.ac.uk