Description Usage Arguments Value Additional arguments Author(s) Examples
Converts the graph to an igraph object, finds communities and plots it using qgraph package.
1 2 |
graph |
An arbitrary graph object in R. |
directed |
Set it TRUE when the graph is directed. (default = FALSE) |
community |
A logical value to show if the node communities should be detected and colored in the returned graph. (default = TRUE) |
betweenness |
A logical value to show if the node betweenness measurements should be computed and returned from the function. (default = TRUE) |
plot |
A logical value to show if the graph should be plotted. (default = FALSE) |
... |
Any additional arguments described below. |
If plot = TRUE it plots the non-interactive graph (If plot.community = TRUE plots communities too) also returns a list contains:
graph |
an igraph object. |
betweenness |
betweenness measurements of each node. |
network |
a visNetwork plot of the graph. |
communities |
a named vector indicating the community of each node. |
A list that indicates which community each node is. The automatic community detection will be ignored when it is set.
Logical indicating if communities should be plotted. Defaults to FALSE.
Name of the plot file without extension. (qgraph function argument)
A character indicates the file type to save the plots in. (qgraph function argument)
A list indicates which communities should be plotted. When is not set, will plot all the communities.
Elyas Heidari, Vahid Balazadeh
1 2 3 4 | |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.