View source: R/vecchia_prediction.R
V2covmat | R Documentation |
compute covariance matrix from V.ord Do not run this function for large n or n.p!!!
V2covmat(preds)
preds |
Object returned by vecchia_prediction() |
Covariance matrix at all locations in original order
z=rnorm(5)
locs=matrix(1:5,ncol=1)
vecchia_specify=function(z,locs,m=5,locs.pred=(1:5)+.5)
V2covmat(vecchia_prediction(vecchia.approx,covparms=c(1,2,.5),nuggets=.2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.