Learn R Programming

MenuCollection (version 1.1)

inpboxc2k: Input Box with two combo and one check box

Description

Input box for selection from two lists and one choice

Usage

inpboxc2k(vlabel, vcombo1, vcombo2, inp)

Arguments

vlabel
character vector with the text label of the box
vcombo1
character vector with the text label of the combo
vcombo2
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
inpboxc2k.png
To get the menu just use the following code: vlabel<-c('list1','list2','choice ') vcombo1<-c('a1','b1','c1','d1') vcombo2<-c('a2','b2','c2','d2') inp<-c('0','0','TRUE') ans<-inpboxc2k(vlabel,vcombo1,vcombo2,inp)

References

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