print.Network | R Documentation |
Prints a Network object.
## 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,
...
)
x |
The Network object. |
title |
The title of the plot. |
title.color |
The color of the title. |
seed |
The seed to use in plotting the graph. |
layout |
igraph |
legend |
The coordinates of the legend. See
|
legend.cex |
character expansion factor. |
bg |
The color to be used for the background of the device region. See
|
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 |
edge.label.cex |
The font size of the edge labels. |
... |
Other Arguments passed to |
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
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.