linkage: Hierarchical Based Linkage

Description Usage Arguments Details Value Examples

Description

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

Usage

1
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

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

Example output



crimelinkage documentation built on May 2, 2019, 1:36 a.m.