print.Network: Prints a Network Object

Description Usage Arguments Note

View source: R/Network.R

Description

Prints a Network object.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
## S3 method for class 'Network'
print(
  x,
  title = NA,
  title.color = "black",
  seed = sample(1:10000, 1),
  layout = igraph::layout.auto,
  legend = c(-0.5, -1.5, 0.5, -1.45),
  legend.cex = 1,
  bg = NULL,
  legend.text.color = "black",
  legend.gradient = NULL,
  vertex.color = "grey80",
  vertex.size = 9,
  vertex.frame.color = NA,
  vertex.label.color = "grey40",
  vertex.label.cex = 1.1,
  edge.label.color = "black",
  edge.label.cex = 0.9,
  ...
)

Arguments

x

The Network object.

title

The title of the plot. NULL eliminates title. NA uses title attribute of the Network object.

title.color

The color of the title.

seed

The seed to use in plotting the graph.

layout

igraph layout to use.

legend

The coordinates of the legend. See color.legend for more information.

legend.cex

character expansion factor. NULL and NA are equivalent to 1.0. See mtext for more information.

bg

The color to be used for the background of the device region. See par for more information.

legend.text.color

The legend text color.

legend.gradient

A vector of ordered colors to use for the gradient fills in the network edges.

vertex.color

The font family to be used for vertex labels.

vertex.size

The size of the vertex.

vertex.frame.color

The color of the vertex border.

vertex.label.color

The color of the labels.

vertex.label.cex

The font size for vertex labels.

edge.label.color

The color for the edge labels. Use NA to remove.

edge.label.cex

The font size of the edge labels.

...

Other Arguments passed to plot.igraph.

Note

The output from Network is an igraph object and can be altered and plotted directly using igraph. The qdap print method is offered as a quick approach to styling the figure. For more control use V, E, and plot.igraph.


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