Description Usage Arguments Details Value Examples
The function visualizes the parameter output from HGC.parameter
.
1 | 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.
1 2 3 4 5 6 | 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")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.