node_plot: Visualise a Node in a Hierarchical Clustering Model

Description Usage Arguments

View source: R/nodeplot.R


Provides a visualisation of the partition at an internal node (or of the potential partition at a leaf node) via a two-dimensional projection of the data assigned to the node.


node_plot(sol, node, labels, transparency)



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


the node to be visualised. can be either an integer specifying the node number in sol$Nodes or a vector of length two specifying c(depth, position at depth) of the node.


(optional) a vector of class labels. if provided then points in different classes are plotted in different colours. the external validity of each partition is also indicated when this can be computed using true class labels.


(optional) if ommitted then points in the scatterplot 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.

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