Learn R Programming

comato (version 1.1)

unify.concepts: Unifying the concepts of a conceptmap object.

Description

unify.concepts first calls get.unified.concepts on the maps of a conceptmaps object and then calls modify.concepts.conceptmaps on each of the constituent maps. Afterwards, therefore, each map of the conceptmaps object will share the same common superset of concepts.

Usage

unify.concepts(maps)

Arguments

maps

A conceptmaps object.

Value

A conceptmaps object in of the same map of maps, in which every map shares the same concepts.

Examples

Run this code
# NOT RUN {
 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)
 
 unify.concepts(cms)
# }

Run the code above in your browser using DataLab