generate_random_model {graphicalExtremes} | R Documentation |
Generate random Huesler-Reiss Models
Description
Generates a random connected graph and Gamma matrix with conditional independence structure corresponding to that graph.
Usage
generate_random_model(d, graph_type = "general", ...)
Arguments
d |
Number of vertices in the graph |
graph_type |
|
... |
Further arguments passed to functions generating the graph and Gamma matrix |
See Also
Other example generation functions:
generate_random_Gamma()
,
generate_random_chordal_graph()
,
generate_random_graphical_Gamma()
,
generate_random_integer_Gamma()
,
generate_random_spd_matrix()
Examples
set.seed(1)
d <- 12
generate_random_model(d, 'tree')
generate_random_model(d, 'block')
generate_random_model(d, 'decomposable')
generate_random_model(d, 'general')
generate_random_model(d, 'complete')
[Package graphicalExtremes version 0.3.2 Index]