circleplot.dist: Plotting Distance Graphs

View source: R/circleplot.R

circleplot.distR Documentation

Plotting Distance Graphs

Description

Function for visualizing distance graphs using a circular layout.

Usage

circleplot.dist(x, cutoff = 0.5, col = 1, circle = FALSE,
                scale = 1.4)

Arguments

x

an object of class dist.

cutoff

a numeric value specifying the threshold for edge exclusion.

col

a number or string specifying the edge color to use.

circle

a logical value specifying if a circle connecting the nodes should be drawn.

scale

a numeric value specifying the plot range (the default accommodates node labels).

Details

Plots the distance graph of x placing its nodes on a circle such that the number of crossing edges is approximately minimized. This is achieved by using order.dist for seriation.

Author(s)

Christian Buchta

See Also

order.dist.

Examples

##
data(iris)
d <- dist(iris[,-5])[[1:26]]
circleplot.dist(d, col = 2, scale = 1)

dimnames(d) <- LETTERS[1:26]
circleplot.dist(d)

cba documentation built on Dec. 7, 2022, 5:17 p.m.

Related to circleplot.dist in cba...