dendGram: Tree Graphs

View source: R/dendGram.R

dendGramR Documentation

Tree Graphs

Description

Produces a tree graph from a hierarchical cluster analysis.

Usage

dendGram(x, Tree = list(orientation = "vertical", width = "standard",
  color = "black"), axis.range = c(NA, NA), labels = "Auto",
  ytitle = "", xtitle = "", caption = "", margin = c(NA, NA, NA,
  NA))

Arguments

x

the data to plot. Must be able to be converted to class "dendrogram."

Tree

control parameters of the tree diagram. See Details.

axis.range

set the range of the tree-axis.

labels

set the tree-axis labels. See linearPretty for details.

ytitle

the y-axis title (also called y-axis caption).

xtitle

the x-axis title (also called x-axis caption).

caption

the figure caption.

margin

set the plot area margins, in units of lines of text. Generally all NA or the output from setGraph if appropriate.

Details

Tree is a list with these components:

orientation

the orientation of the dendrogram, must be either "vertical" or "horizontal"

width

the line width of the line representing the dendrogram

color

the color of the line representing the dendrogram

Value

Information about the graph.

Note

A call should be made to setPage to set up the graphics environment before calling ecdfPlot.

See Also

setPage, probPlot

Examples

## Not run: 
# For an example of a dendGram  see
vignette(topic="GraphGallery", package="smwrGraphs")

## End(Not run)

USGS-R/smwrGraphs documentation built on Oct. 11, 2022, 6:11 a.m.