Construct an edge selection widget

checkedges(parent, label, rows, edges, group = NULL, label.rows = T)

Arguments

parent

the parent window

label

the label for the enclosing frame

rows

the labels for the rows (node names)

edges

an nx2 matrix that defines the edges

group

a numeric vector that groups edges

label.rows

whether to label rows

Value

Returns an object of class checkedges with elements

window

the widget

selected

function that returns the state of the check buttons

state

the tclVars representing the state of the check buttons

Details

Makes a widget consisting of a grid of check buttons that allow the user to select edges of the network.