matern32: Calculate the correlation matrix according to the Matern...

Description Usage Arguments Value See Also Examples

View source: R/simdpp.r

Description

matern32() is a helper function that constructs a correlation matrix according to the Matern model with parameter ν=3/2 and lengthscales given by the parameter vector theta. The design must have been already formated in distlist format using the function makedistlist().

Usage

1
matern32(l.d,theta)

Arguments

l.d

Current design distance matrices in distlist format

theta

A vector of range parameters

Value

A list containing the constructed correlation matrix.

See Also

demu-package rhomat matern52 wendland1 wendland2 generalized.wendland

Examples

1
2
3
4
5
6
7
library(demu)

design=matrix(runif(10,0,1),ncol=2,nrow=5)
theta=rep(0.2,2)
l.d=makedistlist(design)
R=matern32(l.d,theta)$R
R

demu documentation built on Jan. 13, 2020, 5:06 p.m.