pcalg_randdag
randDAG
Package |
|
Version |
2.7-3 |
Language |
|
Docs |
|
Paper |
Kalisch et al.[1] |
Graph type |
|
Docker |
|
Module |
Description
This is the randDAG from the R package pcalg with the extra feature that the maximum average number of parents can be set by max_parents
.
An object of the pcalg_randdag module specifies a graph generated using the randDAG function from the pcalg package, with the extra functionality of restricting the maximal number of parents per node (max_parents). It samples a random graph with n nodes and d neighbours per node on average, using the algorithm specified by method with parameters par1 and par2, for further details see Kalisch et al.[1].
Example
[
{
"id": "avneigs4",
"max_parents": 5,
"n": 80,
"d": 4,
"par1": null,
"par2": null,
"method": "er",
"DAG": true
}
]