SNAhelper | R Documentation |
SNAhelper
is a RStudio-Addin that provides a graphical interface for network analysis and visualization.
SNAhelperGadget(graph) SNAhelperAddin()
graph |
An igraph object to visualize |
To run the addin, highlight an igraph-object in your current script and select SNAhelper
from the Addins-menu within RStudio. After terminating the addin, a character string containing the code for visualization is inserted in your current script. Alternatively you can run it with SNAhelperGadget(graph) from the console.
SNAhelper
returns a character vector with code.
if (interactive()) { graph <- igraph::sample_gnp(100,0.2) SNAhelperGadget(graph) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.