Description Usage Arguments Details Value
View source: R/sparsebnUtils-generate.R
Generate a random DAG with fixed number of edges.
1 | random.dag(nnode, nedge, FUN = NULL, permute = TRUE)
|
nnode |
Number of nodes in the DAG. |
nedge |
Number of edges in the DAG. |
FUN |
Optional function to be used as a random number generator. |
permute |
If |
FUN can be any function whose first argument is called n. This
allows for both random and deterministic outputs.
An (weighted) adjacency matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.