| generalized.wendland {demu} | R Documentation | 
Calculate the correlation matrix according to the generalized Wendland model.
Description
generalized.wendland() is a helper function that constructs a correlation matrix according to the generalized Wendland model with lengthscales given by the parameter vector theta.  When kap=0 the correlation model corresponds to the Askey correlation model.  The design must have been already formated in distlist format using the function makedistlist().
Usage
generalized.wendland(l.d,theta, kap)
Arguments
l.d | 
 Current design distance matrices in distlist format  | 
theta | 
 A vector of range parameters  | 
kap | 
 A non-negative scalar parameter  | 
Value
A list containing the constructed correlation matrix.
See Also
demu-package
rhomat
matern32
matern52
wendland1
wendland2
Examples
library(demu)
design=matrix(runif(10,0,1),ncol=2,nrow=5)
theta=0.3
kap=3
l.d=makedistlist(design)
R=generalized.wendland(l.d,theta,kap)$R
R
[Package demu version 0.3.0 Index]