comp.maps: Map comparison

Description Usage Arguments Value Author(s) See Also Examples

Description

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

Usage

1
  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.

Author(s)

Shaun Turney

See Also

changes.scenario nochanges.scenario

Examples

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

Example output

         S2 Jaccard
1 0.3846154   0.625

FCMapper documentation built on May 2, 2019, 3:17 p.m.