D
. Not intended to be used directly by user (though it may be helpful to some). It is strongly recommended that you use the cov.sp
function. No argument or error checking is provided for this function.simple.cov.sp(D, sp.type, sp.par, error.var, smoothness, finescale.var)
cov.sp
coords <- matrix(rnorm(30), ncol = 3)
D <- dist1(coords)
simple.cov.sp(D = D, sp.type = "exponential", sp.par = c(2, 1),
error.var = 1, smoothness = 0.5, finescale.var = 0)
Run the code above in your browser using DataLab