checkedges {QPress}R Documentation

Edge Selection Widget

Description

Construct an edge selection widget

Usage

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

Details

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

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


[Package QPress version 0.21 Index]