Description Usage Arguments Value Author(s) References See Also Examples
Sorts nodes within undirected edges and/or edges by nodes.
1 | sortmathgraph(x, nodes = TRUE, edges = TRUE)
|
x |
an object that inherits from |
nodes |
logical value; if |
edges |
logical value; if |
an object that represents the same graph as the input, but with some rearrangement.
Nick Efthymiou
S Poetry, Patrick J. Burns, Section 13.3; http://www.burns-stat.com/pages/spoetry.html
1 2 3 4 | jjmg <- c(mathgraph(~ 4:2 * 1:3), mathgraph(~ 3:5 / 1:3))
sortmathgraph(jjmg)
sortmathgraph(jjmg, node=FALSE)
sortmathgraph(jjmg, edge=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.