Description Usage Arguments Value Examples
Given a grapherator object the function returns
a string representation. Basically this is a concatenation of meta data, node,
edge and weight generator types of the following format:
N<n.nodes>-E<n.edges>-C<n.clusters>-W<n.weights>—<node-types>—<edge-types>—<weight-types>
where n.x is the number of x of the graph.
1 2  | ## S3 method for class 'grapherator'
as.character(x, ...)
 | 
x | 
 [  | 
... | 
 [any]  | 
[character(1)]
1 2 3 4 5 6 7 8 9 10  | g = graph(lower = c(0, 0), upper = c(100, 100))
g = addNodes(g, n = 3, generator = addNodesUniform)
g = addNodes(g, n = 14, by.centers = TRUE, generator = addNodesUniform,
  lower = c(0, 0), upper = c(10, 10))
g = addEdges(g, generator = addEdgesWaxman, alpha = 0.2,
  beta = 0.2, type = "intracluster")
g = addEdges(g, generator = addEdgesDelauney, type = "intercenter")
g = addWeights(g, generator = addWeightsCorrelated, rho = -0.9)
g = addWeights(g, generator = addWeightsDistance, method = "euclidean")
as.character(g)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.