sim.index: Similarity indices for job attributes

Description Usage Arguments Value Note Author(s) Examples

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

Example output

Loading required package: XML
Loading required package: RCurl
Loading required package: plyr
$`Sorensen-Dice index`
[1] 0.67

$`Jaccard index`
[1] 0.5

ONETr documentation built on May 2, 2019, 6:46 a.m.