gradients_matern1 {nimblewomble}R Documentation

Posterior samples of rates of change (gradients) for the Matern kernel with \nu=3/2

Description

For internal use only.

Usage

gradients_matern1(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 Z(s)

phi

posterior samples of \phi

sigma2

posterior samples of \sigma^2

Value

Returns a matrix of gradients. 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()
 GM1 = compileNimble(gradients_matern1)
 sprates = GM1(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]