get_prior_precision_matrix: Construct gamma's precision matrix for a given DPC grid

Description Usage Arguments Value Examples

View source: R/gammatau.R

Description

Construct gamma's precision matrix for a given DPC grid

Usage

1
get_prior_precision_matrix(dpc_grid, diag_value, nearest_neighbor_factor)

Arguments

dpc_grid

Discrete Process Convolution grid

diag_value

Diagonal value in precision matrix

nearest_neighbor_factor

Off-diagonal factor for adjacent gridpoints

Value

A sparse precision matrix

Examples

1
2
dpc_grid = get_grid(c(0,1), c(1,2), 1)
get_prior_precision_matrix(dpc_grid, 3, 0.2)

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