File: combiTree.Rd

package info (click to toggle)
r-cran-mclust 6.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,540 kB
  • sloc: fortran: 13,298; ansic: 201; sh: 4; makefile: 2
file content (52 lines) | stat: -rw-r--r-- 1,586 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
\name{combiTree}
\alias{combiTree}

\title{Tree structure obtained from combining mixture components}

\description{The method implemented in \code{\link{clustCombi}} can be used for combining Gaussian mixture components for clustering. This provides a hierarchical structure which can be graphically represented as a tree.}

\usage{
combiTree(object, type = c("triangle", "rectangle"),
                  yaxis = c("entropy", "step"), 
                  edgePar = list(col = "darkgray", lwd = 2), 
                  \dots)
}

\arguments{
  \item{object}{
  An object of class \code{'clustCombi'} resulting from a call to \code{\link{clustCombi}}.
}
  \item{type}{
  A string specifying the dendrogram's type. Possible values are \code{"triangle"} (default), and \code{"rectangle"}.
}
  \item{yaxis}{
  A string specifying the quantity used to draw the vertical axis. Possible values are \code{"entropy"} (default), and \code{"step"}.
}
  \item{edgePar}{
  A list of plotting parameters. See \code{\link[stats]{dendrogram}}.
}
  \item{\dots}{Further arguments passed to or from other methods.}
}
%\details{}
\value{
The function always draw a tree and invisibly returns an object of class \code{'dendrogram'} for fine tuning.
}
%\references{}
\author{L. Scrucca}
%\note{}

\seealso{\code{\link{clustCombi}}}

\examples{
\donttest{
data(Baudry_etal_2010_JCGS_examples)
output <- clustCombi(data = ex4.1) 
combiTree(output)
combiTree(output, type = "rectangle")
combiTree(output, yaxis = "step")
combiTree(output, type = "rectangle", yaxis = "step")
}
}

\keyword{cluster}
\keyword{hplot}