Description Usage Arguments Value Examples
analyze.graph.measures.igraph
is a convenience method that can be called directly on the result of landscape
.
It works just like analyze.graph.measures.conceptmap
1 2 | ## S3 method for class 'igraph'
analyze.graph.measures(x)
|
x |
An igraph object. |
A list with named components that contain the betweenness measure, the edge.connectivity, the diameter, the degree distribution and the communities using the Fastgreedy algorithm.
1 2 3 | require("igraph")
g1 = set.vertex.attribute(erdos.renyi.game(15, 0.7, type="gnp"), "name", value=1:15)
analyze.graph.measures(g1)
|
Warning messages:
1: In rgl.init(initValue, onlyNULL) : RGL: unable to open X11 display
2: 'rgl_init' failed, running with rgl.useNULL = TRUE
3: .onUnload failed in unloadNamespace() for 'rgl', details:
call: fun(...)
error: object 'rgl_quit' not found
Loading required package: igraph
Attaching package: 'igraph'
The following objects are masked from 'package:stats':
decompose, spectrum
The following object is masked from 'package:base':
union
$betweenness
1 2 3 4 5 6 7 8
2.186508 2.394841 2.584921 1.950397 1.507937 1.980159 1.942460 1.414683
9 10 11 12 13 14 15
2.164286 2.086905 1.965873 1.775794 1.960317 1.614683 1.470238
$connectivitiy
[1] 9
$diameter
[1] 2
$degrees
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
11 11 12 10 9 11 10 9 10 11 10 10 10 9 9
$communities
IGRAPH clustering fast greedy, groups: 2, mod: 0.078
+ groups:
$`1`
[1] "1" "4" "5" "6" "7" "12" "13" "14"
$`2`
[1] "2" "3" "8" "9" "10" "11" "15"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.