Learn R Programming

MenuCollection (version 1.2)

inpboxe4c2: Input Box with four edit boxes and two combo boxes

Description

Input box for multiple inputs

Usage

inpboxe4c2(vlabel, vcombo1, vcombo2, inp)

Arguments

vlabel
character vector with the text label of the box
vcombo1
character vector with the text label of the first combo
vcombo2
character vector with the text label of the second combo
inp
character vector with the initialization

Value

Details

See example for the element order in the vectors :

inpboxe4c2.png

To get the menu, just use the following code: vlabel<-c('matrix1','matrix2','matrix3','matrix4','combo1','combo2') vcombo1<-c('a1','b1','c1','d1') vcombo2<-c('a2','b2','c2','d2') inp<-c('M','N','S','T',0,0) ans<-inpboxe4c2(vlabel,vcombo1,vcombo2,inp)

References

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