Learn R Programming

MenuCollection (version 1.2)

inpboxc: Input Box with one combo box

Description

Input box for selection from a single list

Usage

inpboxc(vlabel, vcombo, inp)

Arguments

vlabel
character vector with the text label of the box
vcombo
character vector with the text label of the combo
inp
character vector with the initialization

Value

Details

See example for the element order in the vectors : inpboxc.png To get the menu, just use the following code: vlabel<-c('combo list') vcombo<-c('a','b','c','d') inp<-c('0') ans<-inpboxc(vlabel,vcombo,inp)

References

Lawrence M.F.,Verzani J., (2012) Programming Graphical User Interfaces in R,CRC Press Taylor & Francis Group