concept.vector: Forming the concept vector of a conceptmap object

Description Usage Arguments Value Examples

Description

concept.vector transforms a concept map into a numeric vector that contains for each occuring concept the number of adjacent edges.

Usage

1

Arguments

x

A conceptmap object.

Value

A numeric vector. The columns are named after the concepts and sorted alphabetically.

Examples

1
2
3
4
5
6
#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)

comato documentation built on May 2, 2019, 6:52 a.m.