HGC.PlotParameter {HGC} | R Documentation |
The function visualizes the parameter output from HGC.parameter
.
HGC.PlotParameter(record, parameter)
record |
the input record matrix of parameters from |
parameter |
a string with alternatives "CL" or "ANN". Choose "CL" to plot the chain lengths and "ANN" to plot the average neighbor number. |
The chain length(CL) and average neighbor number(ANN) are key factors
related
with the time complexity of clustering by HGC
. The function
provides the
visualization of them.
The function will return 1 if the dendrogram is successfully drawn.
data(Pollen) Pollen.PCs <- Pollen[["PCs"]] Pollen.SNN <- SNN.Construction(Pollen.PCs) Pollen.ParameterRecord <- HGC.parameter(G = Pollen.SNN) HGC.PlotParameter(Pollen.ParameterRecord, parameter = "CL") HGC.PlotParameter(Pollen.ParameterRecord, parameter = "ANN")