simNetCovariance: Simulate a covariance matrix based on a Bayesian network...

Description Usage Arguments Value See Also

View source: R/simulation.R

Description

Given a Bayesian network structure, simulates a covariance matrix consistent with the network structure, based on Gaussian assumptions.

Usage

1
simNetCovariance(net, rng)

Arguments

net

A Bayesian network structure, an object of class bn.

rng

The desired range of the eigen values in the covariance matrix.

Value

A simulated the covariance matrix consistent with the net argument. Simulated under the Gaussian assumption.

See Also

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


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