linkage {crimelinkage} | R Documentation |
Groups the Bayes Factors by crime group and calculates the linkage score for each group.
linkage(BF, group, method = c("average", "single", "complete"))
BF |
vector of Bayes Factors |
group |
crime group |
method |
the type of linkage for comparing a crime to a set of crimes
|
If methods is a vector of linkages to use, then the all linkages are calcualted and ordered according to the first element.
a data.frame of the Bayes Factor scores ordered (highest to lowest).
# See vignette: "Crime Series Identification and Clustering" for usage.