clusterPath: Follows path of one crime up a dendrogram

Description Usage Arguments Details Value See Also Examples

Description

The sequence of groups that a crime belongs to.

Usage

1
clusterPath(crimeID, tree)

Arguments

crimeID

the crime ID for a crime used in hierarchical clustering

tree

an object produced from crimeClust_hier

Details

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.

Value

data.frame of the additional crimes and the log Bayes factor at each merge.

See Also

crimeClust_hier, plot_hcc

Examples

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

Example output



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