File: raise.dendrogram.Rd

package info (click to toggle)
r-cran-dendextend 1.14.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,888 kB
  • sloc: sh: 13; makefile: 2
file content (29 lines) | stat: -rw-r--r-- 703 bytes parent folder | download | duplicates (3)
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
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/unbranch.R
\name{raise.dendrogram}
\alias{raise.dendrogram}
\title{Raise the height of a dendrogram tree}
\usage{
raise.dendrogram(dend, heiget_to_add, ...)
}
\arguments{
\item{dend}{dendrogram object}

\item{heiget_to_add}{how much height to add to all the branches (not leaves) in the dendrogram}

\item{...}{passed on (not used)}
}
\value{
A raised dendrogram
}
\description{
Raise the height of nodes in a dendrogram tree.
}
\examples{
hc <- hclust(dist(USArrests[2:9, ]), "com")
dend <- as.dendrogram(hc)

par(mfrow = c(1, 2))
plot(dend, main = "original tree")
plot(raise.dendrogram(dend, 100), main = "Raised tree")
}