updij: Updates the Entries of the Precision Matrix

Description Usage Arguments Value Author(s)

View source: R/updij.R

Description

This function updates the Entries (j,j), (i,j) and (j,i) of the Precision Matrix according to the proposed Edge

Usage

1
updij(C, bPost, DPost, i, j, proij)

Arguments

C

Initial Precision Matrix for the MCMC.

i

Row index.

j

Column index.

proij

Boolean indicatting an edgeif TRUE and no edge if FALSE.

bPrior

Prior dedrees of freedom. Defaults to 3.

DPrior

Prior location SPD Matrix. Defaults to the identity matrix.

Value

An updated Precision matrix.

Author(s)

Rene Gutierrez Marquez


Rene-Gutierrez/BayTenGraMod documentation built on Dec. 12, 2020, 11:24 a.m.