plot.cm_distance: Plots a cm_distance object

Description Usage Arguments Value Note

View source: R/cm_distance.R

Description

Plots a cm_distance object.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
## S3 method for class '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,
  ...
)

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.

Value

Returns the igraph object.

Note

This plotting method is not particularly well developed. It is suggested that the user further develop the graph via direct use of the igraph package.


trinker/qdap documentation built on Sept. 30, 2020, 6:28 p.m.