Matern: Matern covariance function

Description Usage Arguments Note See Also Examples

Description

Functional form of Matern covariance function. Code adapted from the fields package.

Usage

1
Matern(d, param = c(scale = 1, range = 1, smoothness = 2))

Arguments

d

distance between two points.

param

parameter vector consisting of scale, range and smoothness.

Note

Method taken from the fields package.

See Also

make_cov_fct

Examples

1
2
Matern(seq(0, 1, length = 10), param = c(scale = 1, range = 0.5, smoothness = 2))
Matern(seq(0, 1, length = 10), param = c(scale = 1, range = 1, smoothness = 2))

larslau/pavpop documentation built on June 14, 2019, 2:18 p.m.