gamma1n2.gauss {nimblewomble}R Documentation

Cross-covariance terms for the posterior distribution of wombling measures for Matern \nu\to\infty, the squared exponential kernel.

Description

For internal use only. Performs one-dimensional quadrature using integral as a limit of a sum.

Usage

gamma1n2.gauss(coords, t, u, s0, phi)

Arguments

coords

coordinates

t

value of t

u

vector of u

s0

starting point on curve s_0

phi

posterior sample of \phi

Value

A matrix of cross-covariance terms. 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 nimblewomble::wombling_gaussian(...)
gamma1n2.gauss(coords = coords[1:ncoords, 1:2], t = tvec[j],
               u = umat[j, 1:2], s0 = curve[j, 1:2], phi = phi[i])

## End(Not run)

[Package nimblewomble version 0.1.0 Index]