checkedges: Edge Selection Widget

View source: R/tk.r

checkedgesR Documentation

Edge Selection Widget

Description

Construct an edge selection widget

Usage

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

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


SWotherspoon/QPress documentation built on Sept. 26, 2022, 2:27 a.m.