Description Usage Arguments Details
View source: R/functions_graph.R
provide an easy way to plot a network graph returned by makeGraph
function.
1 2 3 4 5 6 7 8 9 10 11 12 |
g |
an object generated by |
state_label |
Labels of states. It can be one of follows:
|
state_status |
Status of states. It can be one of follows:
|
state_color |
a vector of color names.
The ith state is colored by |
move_label |
Labels of moves. It can be one of follows:
|
method |
one of follows:
|
community |
an object of 'igraph::communities' class,
giving community of |
weight_in_community |
weights for edges within same community.
Bigger value makes communities to be separated much more.
Only effective when |
fr_iter |
iteration for fruchterman reingold algorithm.
Only effective when |
... |
pass to |
To plot with more detailed specification, use igraph::tkplot
or
GGally::ggnet2
function instead.
For huge graphs consider to use other software like Gephi.
see makeGraph
for example code.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.