Learn R Programming

loon (version 1.4.1)

l_graphswitch_add.graph: Add a graph to the graphswitch widget using a graph object

Description

Graph objects are defined in the graph R package.

Usage

# S3 method for graph
l_graphswitch_add(widget, graph, label = "", index = "end", ...)

Value

id for graph in the graphswitch widget

Arguments

widget

graphswitch widget handle (or widget path)

graph

a graph object created with the functions in the graph R package.

label

string with label for graph

index

position of graph in the graph list

...

additional arguments are not used for this methiod

See Also

l_graphswitch