Similarity indices for job attributes

Description

Computes the Sorensen-Dice and/or Jaccard indices of similarity between two jobs on the named data type (e.g., knowledge, skills, etc.).

Usage

1
sim.index(list1, list2, FUN, index=c("sd", "ji", "all"))

Arguments

list1

list object (from socSearch) of the first job

list2

list object (from socSearch) of the second job

FUN

job data type to compare (e.g., knowledge)

index

the preferred index of similarity (Sorensen-Dice and/or Jaccard). Can use "all" to compute both.

Value

A list of the computed indices

Note

May not work if data are not properly formatted.

Author(s)

Eric Knudsen

Examples

1
2
3