Skip to contents

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

Value

SNAhelper returns a character vector with code.

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.

Examples

if (interactive()) {
  graph <- igraph::sample_gnp(100,0.2)
  SNAhelperGadget(graph)
}