rmixedgraph | R Documentation |
Generate distributions from an ADMG model
rmixedgraph(n, graph, dims, r = TRUE, alpha = 1)
n |
number of distributions to generate |
graph |
an object of class graph |
dims |
integer vector of dimensions of distribution |
r |
logical indicating whether or not recursive factorizations should be used |
The random distribution is obtained by starting with the uniform distribution, and adding an independent (scaled) normal random variables to each Moebius parameter. We then scale the move to reach approximately the boundary of the simplex, and then pick a value between the uniform distribution and the boundary point using a Beta distribution.
Object of class tables
giving distributions Markov with
respect to a distribution in the model associated with graph
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.