plot.ppci_cluster_solution: Visualise a Hierarchical Clustering Model, or a Node Within a...

Description Usage Arguments Value See Also

View source: R/newplots.R

Description

Provides a visualisation of a hierarchical clustering model via two-dimensional projections of the data assigned to each node. Alternatively a more detailed visualisation of a single node in a hierarchical model.

Usage

1
2
## S3 method for class 'ppci_cluster_solution'
plot(x, node = NULL, labels = NULL, node.numbers = NULL, transparency = NULL, ...)

Arguments

x

a clustering solution arising from one of the functions mcdc, mddc and ncutdc.

node

(optional) integer corresponding to a node number (see node.numbers below). If provided then a detailed plot of the specified node is provided, instead of the entire cluster hierarchy.

labels

(optional) a vector of class labels. if provided then points in different classes are plotted in different colours.

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.

transparency

(optional) if ommitted then points in scatterplots are shown as solid. If set to a value in (0, 1) then points are shown with transparency. Lower values correspond with a greater degree of transparency.

...

additional graphical parameters. Currently none implemented.

Value

None

See Also

mcdc, mddc, ncutdc, tree_plot, node_plot


PPCI documentation built on March 13, 2020, 3:27 a.m.