simSparsePrecision: Simulate a Sparce Precision Matrix

Description Usage Arguments Value See Also

View source: R/simulation.R

Description

Simulate a Sparce Precision Matrix

Usage

1
simSparsePrecision(basis, rng)

Arguments

basis

A binary matrix where 1's correspond to non-zero elements in the precision matrix. This is the output of the getPrecisionBasis function.

rng

The desired range of the eigen values for the matrix.

Value

A positive definate matrix of the same dimension as the basis argument.

See Also

simGaussianNet, simBNFromCovMat, simDAGFromCovMat, simNetCovariance, simMVNData, randomNet, simSparsePrecision, simDAGFromCovMat


robertness/gmsim documentation built on May 27, 2019, 10:32 a.m.