createU | R Documentation |
create the sparse triangular U matrix for specific parameters
createU(vecchia.approx, covparms, nuggets, covmodel = "matern")
vecchia.approx |
object returned by |
covparms |
vector of covariance parameters |
nuggets |
nugget variances – if a scalar is provided, variance is assumed constant |
covmodel |
covariance model. currently implemented: |
list containing the sparse upper triangular U, plus additional objects required for other functions
z=rnorm(9); locs=matrix(1:9,ncol=1); vecchia.approx=vecchia_specify(locs,m=5)
U.obj=createU(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.