Description Usage Arguments Details Value Functions Examples
The function implements the first tapering method described in the Covariance Tapering paper.
1 2 3 | nll_1taper(x, n, good_dists, taps, ia, ja, z, rescol)
nll_1taper_parallel(x, n, good_dists, taps, ia, ja, z, rescol, cores)
|
x |
A |
n |
A |
good_dists |
A |
taps |
A |
ia |
A |
ja |
A |
z |
A |
rescol |
An |
cores |
An |
Currently the EIGEN sparse matrix cholesky decomposition differs from that of SPAM. As a result, the forward solve step finds a different vector. This in turn returns a higher distval.
A double
nll_1taper_parallel
:
1 2 3 4 5 6 7 8 9 10 | data(anom1962)
d = rdist_earth1(loc)
setup.eigen = make_tapersetup_eigen(d,taprange = 50)
val = nll_1taper(20, setup.eigen$n,
setup.eigen$good.dists,
setup.eigen$taps,
setup.eigen$ia,
setup.eigen$ja,
z,
setup.eigen$rescol)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.