powered by
concept.vector transforms a concept map into a numeric vector that contains for each occuring concept the number of adjacent edges.
concept.vector
concept.vector(x)
A conceptmap object.
A numeric vector. The columns are named after the concepts and sorted alphabetically.
# NOT RUN { #Create concept map from a random graph require("igraph") g1 = set.vertex.attribute(erdos.renyi.game(5, 0.7, type="gnp"), "name", value=1:5) cm = conceptmap(g1) concept.vector(cm) # }
Run the code above in your browser using DataLab