conceptmaps.matrix: Creation of a conceptmaps object from a matrix

Description Usage Arguments Value Examples

Description

conceptmaps creates a conceptmaps object from a set of concept maps represented as a matrix.

Usage

1
2
## 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 conceptmap.matrix is called on the matrix of these rows and the remaining columns to create a conceptmap object.

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

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

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