Debian Codegraph @

man/raise.dendrogram.Rd

raw
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/unbranch.R
3 \name{raise.dendrogram}
4 \alias{raise.dendrogram}
5 \title{Raise the height of a dendrogram tree}
6 \usage{
7 raise.dendrogram(dend, heiget_to_add, ...)
8 }
9 \arguments{
10 \item{dend}{dendrogram object}
11
12 \item{heiget_to_add}{how much height to add to all the branches (not leaves) in the dendrogram}
13
14 \item{...}{passed on (not used)}
15 }
16 \value{
17 A raised dendrogram
18 }
19 \description{
20 Raise the height of nodes in a dendrogram tree.
21 }
22 \examples{
23 hc <- hclust(dist(USArrests[2:9, ]), "com")
24 dend <- as.dendrogram(hc)
25
26 par(mfrow = c(1, 2))
27 plot(dend, main = "original tree")
28 plot(raise.dendrogram(dend, 100), main = "Raised tree")
29 }