View source: R/ACutils_export.R
ACplot_graph | R Documentation |
Given a (pxp)-matrix or a n_elem-dimensional vector, it plots the corresponding undirected graph.
ACplot_graph( G, col.links = "#3B9AB2", col.zeros = "grey95", graph.size = NULL, byrow = TRUE, main = " ", x_label = " ", y_label = " ", use_x11_device = TRUE )
G |
it may be (pxp)-matrix, where p is the number or nodes or a vector containing the elements of the adiacency
matrix. It is a vector, it may contain or not the diagonal elements. Its length should be equal to
|
col.links |
the color of the links. |
col.zeros |
the color of the absent links, the zeros in the adiacency matrix. |
graph.size |
the number of nodes. Used only is |
byrow |
boolean, used only is |
main |
the title of the plot. |
x_label |
the name of the x-axis in the plot. |
y_label |
the name of the y-axis in the plot. |
use_x11_device |
boolean, if x11() device has to be activated or not. |
this function does not return anything
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.