# NOT RUN {
## See examples in help("spaMM"), help("HLCor"), help("Loaloa"), etc.
## The Matern family can be used in Euclidean spaces of any dimension:
set.seed(123)
randpts <- matrix(rnorm(20),nrow=5)
distMatrix <- as.matrix(proxy::dist(randpts))
MaternCorr(distMatrix,nu=2)
# }
Run the code above in your browser using DataLab