SNAhelper: SNAhelper

View source: R/SNAhelper.R

SNAhelperR 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)
}

schochastics/snahelper documentation built on Nov. 19, 2023, 7:12 p.m.