Description Usage Arguments Value Examples
conceptmap
takes an existing igraph object and tries of coerce it into a conceptmap object (encompassing the igraph object).
1 2 | ## S3 method for class 'igraph'
conceptmap(x, strip = TRUE, ...)
|
x |
An igraph object. It must have an attribute called "name" for both vertices and edges. Additional attributes are preserved for graph, vertices and edges. |
strip |
If TRUE, nodes without adjacent edges are removed from the graph / concept map. |
... |
- |
A conceptmap object.
1 2 3 4 5 | #Create conceptmap from a complete graph with 5 nodes
require("igraph")
graph = graph.full(5)
graph = set.vertex.attribute(graph, "name", value=1:5)
simple_cm = conceptmap(graph)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.