Description Usage Arguments Value See Also
Generates an igraph object and a corresponding dataset. A number of unobserved vertices will be chosen at random. Used to randomly generate test cases. If supplied an input graph structure, the new structure is simulated using a power law. Otherwise, the function uses the sim_DAG in the lucy https://github.com/robertness/lucy package.
1 |
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. |
A list of two elements, graph and data.
power_signal_graph
sim_DAG
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.