get_posterior_precision: Compute the full conditional (given tau, rho, and data)...

Description Usage Arguments Value Examples

View source: R/gammatau.R

Description

Compute the full conditional (given tau, rho, and data) precision of gamma

Usage

1
get_posterior_precision(prior_precision, kernel_matrix, tau)

Arguments

prior_precision

Prior precision matrix for gamma

kernel_matrix

Discrete Process Convolution kernel matrix (fixed values of rho)

tau

Sampled value of tau

Value

Full conditional precision of gamma

Examples

1
get_posterior_precision(Matrix::Diagonal(2, 3), list(mat = Matrix::Diagonal(2, 1)), 5)

rtlemos/scallops documentation built on May 4, 2019, 7:43 p.m.