conceptmaps.list {comato} | R Documentation |
Creation of a conceptmaps object from a list
Description
conceptmaps
creates a conceptmaps object from a list of conceptmap objects.
Usage
## S3 method for class 'list'
conceptmaps(x, filter = T, ...)
Arguments
x |
A list of conceptmap objects. |
filter |
If TRUE, empty concept maps (i.e. concept maps without any proposition) are not contained in the resulting set. |
... |
- |
Value
A conceptmaps object.
Examples
#Create concept maps from three random graphs
require("igraph")
g1 = set.vertex.attribute(erdos.renyi.game(5, 0.7, type="gnp"), "name", value=1:5)
g2 = set.vertex.attribute(erdos.renyi.game(5, 0.7, type="gnp"), "name", value=1:5)
g3 = set.vertex.attribute(erdos.renyi.game(5, 0.7, type="gnp"), "name", value=1:5)
#Create conceptmaps object from three conceptmap objects
simple_cms = conceptmaps(list(conceptmap(g1), conceptmap(g2), conceptmap(g3)))
[Package comato version 1.1 Index]