Revision 20aefc9955133b9d3a2f3ea6366edd542e26701d authored by David Hofmeyr on 16 February 2018, 12:43:08 UTC, committed by cran-robot on 16 February 2018, 12:43:08 UTC
1 parent af98636
tree_plot.Rd
\name{tree_plot}
\alias{tree_plot}
\title{Visualise a Hierarchical Clustering Model}
\description{
Provides a visualisation of a hierarchical clustering model via two-dimensional projections of the data assigned to each node.
}
\usage{
tree_plot(sol, labels, node.numbers)
}
\arguments{
\item{sol}{a clustering solution arising from one of the functions mcdc, mddc and ncutdc.}
\item{labels}{(optional) a vector of class labels. if provided then points in different classes are plotted in different colours.}
\item{node.numbers}{(optional) logical. if TRUE then numbers are added to the plot to indicate the order in which nodes were added to the model. if omitted then node.numbers = TRUE.}
}
\examples{
## load optidigits dataset
data(optidigits)
## generate hierarchical clustering model using NCUTDC algorithm
sol <- ncutdc(optidigits$x, 10)
## visualise the solution
tree_plot(sol)
}
\keyword{file}

Computing file changes ...