Skip to content

Latest commit

 

History

History
68 lines (45 loc) · 1.96 KB

pcalg_randdag.rst

File metadata and controls

68 lines (45 loc) · 1.96 KB

pcalg_randdag

randDAG

Package pcalg
Version 2.7-3
Language R
Docs here
Paper :footcite:t:`JSSv047i11`
Graph type DAG, UG
Docker bpimages/bidag:2.1.4
Module pcalg_randdag

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 :footcite:t:`JSSv047i11`.

Example

[
  {
    "id": "avneigs4",
    "max_parents": 5,
    "n": 80,
    "d": 4,
    "par1": null,
    "par2": null,
    "method": "er",
    "DAG": true
  }
]
.. footbibliography::