circleplot.dist | R Documentation |
Function for visualizing distance graphs using a circular layout.
circleplot.dist(x, cutoff = 0.5, col = 1, circle = FALSE,
scale = 1.4)
x |
an object of class |
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). |
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.
Christian Buchta
order.dist
.
##
data(iris)
d <- dist(iris[,-5])[[1:26]]
circleplot.dist(d, col = 2, scale = 1)
dimnames(d) <- LETTERS[1:26]
circleplot.dist(d)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.