Learn R Programming

qdap (version 2.4.6)

plot.cm_distance: Plots a cm_distance object

Description

Plots a cm_distance object.

Usage

# S3 method for cm_distance
plot(
  x,
  digits = 3,
  constant = 1,
  label.dist = FALSE,
  layout = igraph::layout.fruchterman.reingold,
  label.cex = 1,
  label.cex.scale.by.n = FALSE,
  alpha = NULL,
  label.color = "black",
  use.vertex.shape = FALSE,
  arrow.size = 0.6,
  ...
)

Value

Returns the igraph object.

Arguments

x

A cm_distance object.

digits

The number of digits to use if distance labels are included on the edges.

constant

A constant to weight the edges by.

label.dist

logical. If TRUE distance measures are placed on the edges.

layout

A layout; see layout.

label.cex

A constant to use for the label size.

label.cex.scale.by.n

logical. If TRUE the label size is scaled by the number of uses of the code.

alpha

The cut off value for pvalue inclusion of edges.

label.color

Color of the vertex labels.

use.vertex.shape

logical. If TRUE the vertex label if plotted on a circle.

arrow.size

The size of the arrows. Currently this is a constant, so it is the same for every edge.

...

Further arguments passed to the chosen layout.