Plot method for group.distance
# S3 method for group.distance
plot(x, type = c("heatmap", "dendrogram"), which = NULL, ...)A ggplot object (for heatmap) or NULL (for dendrogram, uses base graphics).
An object of class 'group.distance'.
Plot type: "heatmap" or "dendrogram".
Which distance matrix to plot. If NULL (default), uses the first available matrix from the group.distance object.
Additional arguments.