spaPDM: Generates Sparse Symmetric Positive Definite Random Matrices.

Description Usage Arguments Value Author(s)

View source: R/spaPDM.R

Description

This function generates Sparse Symmetric Positive Definitive Matrices according to the adjacency matrix provided and certain degrees of freedom. The whole procedure follows, ...

Usage

1
spaPDM(b, E)

Arguments

b

Degrees of Freedom for Sampling from the Gwishart distribution.

E

The Edge or Adjacency matrix for sampling from the GWishart distribution.

Value

A random Sparse Symmetric Positive Definite matrix that has zero entries whenever the adjacency matrix has a zero entry.

Author(s)

Rene Gutierrez Marquez


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