Learn R Programming

MenuCollection (version 1.1)

inpboxc: Input Box with one combobox

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

  • list with the user answers as character

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