Learn R Programming

FCMapper (version 1.1)

comp.maps: Map comparison

Description

Calculates similarity indices (S2 and Jaccard) of two coginitive maps.

Usage

comp.maps(concept.names1,concept.names2)

Arguments

concept.names1
Character vector of concept names.
concept.names2
Character vector of concept names.

Value

The S2 and Jaccard similarity indices are calculated. S2 is the proportion of concepts that are shared between the two concept maps. Jaccard is calculated as a/(a+b+c) where "a is the number of concepts shared by the two maps, "b is the number of concepts present only in Map 1, and "c" is the number of concepts present only in Map 2.

See Also

changes.scenario nochanges.scenario

Examples

Run this code
  concept.names1 = c("A","B","C","D","E","F","G")
  concept.names2 = c("C","D","E","F","G","H")
  
  comp.maps(concept.names1,concept.names2)

Run the code above in your browser using DataLab