Graphical network plot | R Documentation |
Plot a Graphical Network obtained from a numeric matrix
## S3 method for class 'net'
plot(x, i = NULL, show.names = FALSE,
group = NULL, group.shape = NULL,
set.color = NULL, set.size = NULL,
axis.labels = TRUE, curve = FALSE,
bg.color = "white", unified = TRUE, ni = 36,
line.color = "gray70", line.width = 0.3,
legend.pos = "right", point.color = "gray20",
sets = c("Testing","Supporting","Non-active"),
circle = FALSE, ...)
x |
An object of the 'net' class as per the |
i |
(integer vector) Index subjects in rows to be shown in plot. Default |
show.names |
|
group |
(data.frame) Column grouping for the subjects |
group.shape |
(integer vector) Shape of each level of the grouping column provided as |
bg.color |
(character) Plot background color |
line.color |
(character) Color of lines connecting nodes in rows with those in columns |
line.width |
(numeric) Width of lines connecting nodes in rows with those in columns |
curve |
|
set.color |
(character vector) Color point of each type of node: row, 'active' column, and 'non-active' column, respectively |
set.size |
(numeric vector) Size of each type of node: row, 'active' column, and 'non-active' column, respectively |
axis.labels |
|
unified |
|
point.color |
(character) Color of the points in the plot |
ni |
(integer) Maximum number of row nodes that are plotted separated as indicated by |
legend.pos |
(character) Either "right", topright","bottomleft","bottomright","topleft", or "none" indicating where the legend is positioned in the plot |
sets |
(character vector) Names of the types of node: row, 'active' column, and 'non-active' column, respectively |
circle |
|
... |
Other arguments for method |
Plot a Graphical Network from a matrix where nodes are subjects in the rows and columns, and edges are obtained from the matrix entries. This Network is obtained using net
function
# See examples in
# help(net, package="SFSI")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.