Learn R Programming

GPvecchia (version 0.1.7)

MaternFun: Calculate Matern covariance function

Description

Calculate Matern covariance function

Usage

MaternFun(distmat, covparms)

Value

A matrix with covariance values corresponding to the distance matrix

Arguments

distmat

A matrix with distances between points

covparms

A vector with parameters (marg. variance, range, smoothness)