linkage {crimelinkage}R Documentation

Hierarchical Based Linkage

Description

Groups the Bayes Factors by crime group and calculates the linkage score for each group.

Usage

linkage(BF, group, method = c("average", "single", "complete"))

Arguments

BF

vector of Bayes Factors

group

crime group

method

the type of linkage for comparing a crime to a set of crimes

  • “average” uses the average bayes factor

  • “single” uses the largest bayes factor (most similar)

  • “complete” uses the smallest bayes factor (least similar)

Details

If methods is a vector of linkages to use, then the all linkages are calcualted and ordered according to the first element.

Value

a data.frame of the Bayes Factor scores ordered (highest to lowest).

Examples

# See vignette: "Crime Series Identification and Clustering" for usage.

[Package crimelinkage version 0.0.4 Index]