Usage
pickFrom(vec, nsets = 1, return.indices = FALSE,
setlabels = NULL, edit.setlabels = TRUE,
title = "Subset picker",
items.label = "Pick from:",
labels.prompt = "Your label for this set:",
list.height = 20,
items.scrollbar = TRUE,
preserve.order = TRUE,
listFont = "Courier 12",
labelFont = "Helvetica 11",
windowPos = "+150+30")Arguments
nsets
an integer, the number of subsets to be selected
return.indices
logical, whether indices (TRUE) or vector
contents (FALSE) are to be returned
setlabels
a character vector of labels for the subsets
edit.setlabels
logical, determines whether a textbox is
provided for editing the label of each subset
title
character, title of the Tk dialog window
items.label
character,
a label for the set of items to be selected from
labels.prompt
character, a prompt for textual set label(s)
list.height
maximum number of elements of vec to display
at once
items.scrollbar
logical, whether a scrollbar is to be provided when
vec is longer than list.height
preserve.order
logical: should the order of items in vec
be maintained in all of the returned subsets?
listFont
a Tk font specification for the items list and subsets
labelFont
a Tk font specification for the labels entrybox
windowPos
position of the Tk dialog, in pixels from top left of
display