curvatures_matern2 {nimblewomble} | R Documentation |
Posterior samples of rates of change (gradients and curvatures) for the
Matern kernel with \nu=5/2
Description
For internal use only.
Usage
curvatures_matern2(dists.1, dists.2, dists.3, z, phi, sigma2)
Arguments
dists.1 |
distance matrix generated from coordinates |
dists.2 |
distance of grid from coordinates |
dists.3 |
delta = coordinate - grid |
z |
posterior samples of |
phi |
posterior samples of |
sigma2 |
posterior samples of |
Value
A matrix of posterior samples for the gradient and curvatures. For internal use only.
Author(s)
Aritra Halder <aritra.halder@drexel.edu>,
Sudipto Banerjee <sudipto@ucla.edu>
Examples
## Not run:
#####################
# Internal use only #
#####################
# Example usage inside of nimblewomble::sprates()
CM2 = compileNimble(curvatures_matern2)
sprates = CM2(dists.1 = distM,
dists.2 = dist.2,
dists.3 = dist.3,
z = z,
phi = phi,
sigma2 = sigma2)
## End(Not run)
[Package nimblewomble version 0.1.0 Index]