V2covmat {GPvecchia} | R Documentation |
compute covariance matrix from V.ord Do not run this function for large n or n.p!!!
Description
compute covariance matrix from V.ord Do not run this function for large n or n.p!!!
Usage
V2covmat(preds)
Arguments
preds |
Object returned by vecchia_prediction() |
Value
Covariance matrix at all locations in original order
Examples
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))
[Package GPvecchia version 0.1.7 Index]