Description Usage Arguments Value Examples
This function creates a synthetic graph with truth clusters properties.
1 2 | generateEdgeList(k = 2, aid = 100, aed = 10, n = 1000, prob = NULL,
directed = FALSE)
|
k |
integer: the number of clusters. |
aid |
integer: average intra-cluster degree. Poisson parameters for number of neighbors within the cluster. |
aed |
integer: average inter-cluster degree. Poisson parameters for number of neighbors outside the cluster. |
n |
integer: number of vertices in the graph. |
prob |
vector of size |
directed |
boolean value describing if the edges are directed. |
A graph object of class ELgraph
with truth clusters.
1 | g = generateEdgeList(n=1000)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.