Learn R Programming

crimelinkage (version 0.0.4)

plot_hcc: Plot a hierarchical crime clustering object

Description

Similar to plot.dendrogram.

Usage

plot_hcc(tree, yticks = seq(-2, 8, by = 2), hang = -1, ...)

Arguments

tree
an object produced from crimeClust_hier
yticks
the location of the tick marks for log Bayes factors
hang
the hang argument of as.dendrogram
...
other arguments passed to plot.dendrogram

Value

A dendrogram

Details

This function creates a dendrogram object and then plots it. It corrects the y-axis to give the proper values and adds the number of clusters if the tree were cut at a particular log Bayes factor.

See Also

crimeClust_hier

Examples

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

Run the code above in your browser using DataLab