Usage
activeDataSet(dsname)
activeModel(model)
checkActiveDataSet()
checkActiveModel()
checkBoxes(window=top, frame, boxes, initialValues=NULL, labels) # macro
checkFactors(n=1)
checkNumeric(n=1)
checkReplace(name, type="Variable")
checkTwoLevelFactors(n=1)
checkVariables(n=1)
dialogSuffix(window=top, onOK=onOK, rows=1, columns=1, focus=top, bindReturn=TRUE,
preventGrabFocus=FALSE) # macro
doItAndPrint(command)
errorCondition(window=top, recall=NULL, message, model=FALSE) # macro
## S3 method for class 'listbox':
getFrame(object)
## S3 method for class 'listbox':
getSelection(object)
groupsBox(recall=NULL, label="Plot by:", initialLabel="Plot by groups",
plotLinesByGroup=FALSE, positionLegend=FALSE,
plotLinesByGroupsText="Plot lines by group") # macro
groupsLabel(frame=top, groupsBox=groupsBox, columnspan=1) # macro
justDoIt(command)
initializeDialog(window=top, title="") # macro
is.valid.name(x)
listDataSets(envir = .GlobalEnv, ...)
listFactors(dataSet=.activeDataSet)
listGeneralizedLinearModels(envir = .GlobalEnv, ...)
listLinearModels(envir = .GlobalEnv, ...)
listNumeric{dataSet=.activeDataSet}
listTwoLevelFactors(dataSet=.activeDataSet)
listVariables(dataSet=.activeDataSet)
logger(command)
modelFormula(frame=top, hasLhs=TRUE) # macro
OKCancelHelp(window=top, helpSubject=NULL, model=FALSE) # macro
radioButtons(window=top, name, buttons, values=NULL, initialValue=..values[1],
labels, title) # macro
subOKCancelHelp(window=subdialog, helpSubject=NULL) # macro
subsetBox(window=top, model=FALSE) # macro
variableListBox(parentWindow, variableList=.variables, bg="white",
selectmode="single", export="FALSE", initialSelection=NULL, title)
Arguments
bindReturn
if TRUE
, the Return key is bound to the onOK
function in the dialog.
boxes
vector of quoted names for check boxes, used to generate each box and its associated variable.
buttons
vector of quoted names for buttons in a set of related radio buttons.
columnspan
number of dialog-box columns to be spanned by frame.
command
a character string that evaluates to an R command.
dataSet, dsname
the quoted name of a data frame in memory.
envir
the environment to be searched; should generally be left at the default.
focus
Tk window to get the focus.
frame
frame or quoted name for frame depending upon the function.
groupsBox
listbox object for selecting groups variable.
hasLhs
does the model formula have a left-hand side?
helpSubject
the quoted name of a help subject, to be called as help(helpSubject)
when the dialog Help button is pressed.
initialLabel
label for groups button before a selection is made.
initialSelection
index of item initially selected, 0-base indexing.
initialValue
for a set of related radio buttons.
initialValues
for a set of related check boxes.
label
label prefix for groups button after a selection is made.
labels
A vector of character strings to label a set of radio buttons or check boxes.
model
the name of a model, as a character string, or TRUE
or FALSE
, depending
upon the function.
n
number of variables to check for.
onOK
function to execute when the OK button is pressed.
plotLinesByGroup
include a check box for plotting lines by group?
plotLinesByGroupsText
the label for the plot-lines-by-group check box.
positionLegend
include a check box for a legend?
preventGrabFocus
prevent the dialog box from grabbing the focus.
recall
function to call after error --- usually the function that initiates the dialog.
rows, columns
numbers of rows and columns of widgets in the dialog box.
values
vector of quoted values associated with radio buttons or check boxes.
selectmode
"single"
or "multiple"
.
title
Window or dialog-box-element title.
type
quoted type of object to check; used to generate check-replace dialog box.
variableList
a vector of variable names.
window, parentWindow
a Tk window.
x
a putative R object name, as a character string.