plclust(tree, hang = .1, unit = F, level = F, hmin = 0, square = T, labels = <<see below>>, plot = T)
Graphical parameters may also be supplied as arguments to this function (see par). In addition, the high-level graphics arguments described under par and the arguments to title may be supplied to this function.
# create sample object using built-in data distances <- dist(votes.repub)) plclust(hclust(distances))# another example x <- hclust(dist(longley.y)) plclust(x, label = FALSE) # plot without labels xy <- plclust(tree, plot = FALSE) # no plot, save structure # allow user to point at leaf and have it identified identify(xy)
sums <- apply(author.count,1,sum) adjusted <- sweep(author.count,1,sums,"/") par(mar=c(18,4,4,1)) plclust(hclust(dist(adjusted)),label=dimnames(author.count)[[1]]) title("Clustering of Books Based on Letter Frequency")