conceptmaps.matrix {comato} | R Documentation |
Creation of a conceptmaps object from a matrix
Description
conceptmaps
creates a conceptmaps object from a set of concept maps represented as a matrix.
Usage
## S3 method for class 'matrix'
conceptmaps(x, filter = T, ...)
Arguments
x |
A matrix that represents a set of concept maps. The first colum is taken to identify the map, i.e.
for each value occuring in the first column, the rows with identical values are extracted and |
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
data = rbind(
cbind("1", "Object", "Class", "is instance of"),
cbind("1", "Object", "Attribute", "has"),
cbind("2", "Class", "Attribute", "possesses"),
cbind("2", "Attribute", "Data-type", "has"),
cbind("3", "Object", "Class", "is instance of")
)
cms = conceptmaps(data)
[Package comato version 1.1 Index]