SNAhelper {snahelper} | R Documentation |
SNAhelper
Description
SNAhelper
is a RStudio-Addin that provides a graphical interface for network analysis and visualization.
Usage
SNAhelperGadget(graph)
SNAhelperAddin()
Arguments
graph |
An igraph object to visualize |
Details
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.
Value
SNAhelper
returns a character vector with code.
Examples
if (interactive()) {
graph <- igraph::sample_gnp(100,0.2)
SNAhelperGadget(graph)
}
[Package snahelper version 1.4.2 Index]