clusterPath {crimelinkage} | R Documentation |
The sequence of groups that a crime belongs to.
clusterPath(crimeID, tree)
crimeID |
the crime ID for a crime used in hierarchical clustering |
tree |
an object produced from |
Agglomerative hierarchical clustering form clusters by sequentially merging the most similar groups at each iteration. This function is designed to help trace the sequence of groups an individual crime is a member of. And it shows at what score (log Bayes factor) the merging occurred.
data.frame of the additional crimes and the log Bayes factor at each merge.
# See vignette: "Crime Series Identification and Clustering" for usage.