This function represents a dendrogram for the clustering results provided by a HIPAM algorithm. It is a small modification of the original plot.tree function of the smida R package, available from http://www.math.rug.nl/~ernst/book/smida.html.
Usage
plotTreeHipamAnthropom(x,main,...)
Arguments
x
The HIPAM object to be plotted.
main
Title of the plot.
...
Other arguments that may be supplied.
Value
A device with the desired plot.
Note
This function only represents the 'tree' option of the original plot.tree function of smida, because we believe that this option displays better the clustering results provided by HIPAM than the option '2d'.
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(Anthropometry)
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/Anthropometry/plotTreeHipamAnthropom.Rd_%03d_medium.png", width=480, height=480)
> ### Name: plotTreeHipamAnthropom
> ### Title: HIPAM dendogram
> ### Aliases: plotTreeHipamAnthropom
> ### Keywords: array
>
> ### ** Examples
>
> dataHipam <- sampleSpanishSurvey
> bust <- dataHipam$bust
> bustSizes <- bustSizesStandard(seq(74, 102, 4), seq(107, 131, 6))
>
> type <- "IMO"
> maxsplit <- 5 ; orness <- 0.7
> ah <- c(23, 28, 20, 25, 25)
>
> set.seed(2013)
> numSizes <- 1
> res_hipam <- computSizesHipamAnthropom(dataHipam, bust, bustSizes$bustCirc, numSizes,
+ maxsplit, orness, type, ah, FALSE)
>
> plotTreeHipamAnthropom(res_hipam[[1]],
+ main=paste("Proposed Hierarchical PAM Clustering \n",
+ "74-78"))
>
>
>
>
>
> dev.off()
null device
1
>