Description Usage Arguments Value
Uses the sim_DAG in the lucy https://github.com/robertness/lucy package. The vertices that must have data are the roots and the leaves, (everything in between can be hidden), so data is simulated for only those nodes.
1 2 |
p |
the number of desired nodes |
n |
the number of desired rows in the data |
input_g |
an igraph object. If supplied then the graph is simulated from a power law fit on this input graph. |
method |
the fitting method for simulating a directed acyclic graph. Ignored if input_g is supplied. |
no_fixed |
boolean if TRUE then all vertices are treated as random. Defaults to FALSE |
... |
additional arguments, including graph attributes |
a signalgraph object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.