merge.conceptmaps {comato} | R Documentation |
Unify sets of conceptmaps
Description
merge
takes two conceptsmaps objects and merges the underyling sets of conceptmaps.
Usage
## S3 method for class 'conceptmaps'
merge(x, y, ...)
Arguments
x |
A conceptmaps object. |
y |
A conceptmaps object. |
... |
- |
Value
A conceptmaps object that consist of the maps of x
and y
.
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")
)
cm1 = conceptmaps(data[1:2,])
cm2 = conceptmaps(data[3:5,])
merge(cm1, cm2)
[Package comato version 1.1 Index]