Description Usage Arguments Value See Also Examples
analyze.similarity
calculates a measure of graph similarity between two concept maps.
1 | analyze.similarity(map1, map2)
|
map1 |
A conceptmap object. |
map2 |
A conceptmap object. |
A value between 0 and 1 that indicated the structural similariy of the underlying graphs. The graphs need not share the same set of nodes.
The structural similarity that is calculated is described in: Goldsmith, Timothy E.; Davenport, Daniel M. (1990): Assessing Structural Similarity of Graphs. In: Roger W. Schvaneveldt (Hg.): Pathfinder associative networks. Studies in knowledge organizations. Norwood, N.J: Ablex Pub. Corp., S. 74-87.
1 2 3 4 | require("igraph")
g1 = set.vertex.attribute(erdos.renyi.game(15, 0.7, type="gnp"), "name", value=1:15)
g2 = set.vertex.attribute(erdos.renyi.game(15, 0.7, type="gnp"), "name", value=1:15)
analyze.similarity(conceptmap(g1), conceptmap(g2))
|
Warning messages:
1: In rgl.init(initValue, onlyNULL) : RGL: unable to open X11 display
2: 'rgl.init' failed, running with 'rgl.useNULL = TRUE'.
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
[1] 0.4638639
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.