adjacency.image: Adjacency Matrix Image

View source: R/Community.R

adjacency.imageR Documentation

Adjacency Matrix Image

Description

Display adjacency matrix of the directed graph as an image

Usage

adjacency.image(edges, required.groups = c(0), cex.axis = 1)

Arguments

edges

an edge list

required.groups

which edge groups should be included?

cex.axis

character expansion factor for the edge labels

Details

Display the matrix constructed by adjacency.matrix as an image.

Value

Returns the adjacency matrix for the directed graph.

See Also

adjacency.matrix

Examples

edges <- parse.digraph(c(
  "E *-> D",
  "D *-> C",
  "C -> E",
  "E *-> B",
  "B *-> A",
  "A -> E",
  "D -> B"))
edges <- enforce.limitation(edges)
adjacency.image(edges)

SWotherspoon/QPress documentation built on Sept. 26, 2022, 2:27 a.m.