inpboxc2: Input Box with two combo boxes

Description Usage Arguments Details Value Author(s) References

View source: R/menucollection.r

Description

Input box for selection from two lists

Usage

1
inpboxc2(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 first combo

inp

character vector with the initialization

Details

See example for the element order in the vectors :
inpboxc2.png
To get the menu just use the following code:
vlabel<-c('list 1','list 2')
vcombo1<-c('a','b','c','d')
vcombo2<-c('1','2','3')
inp<-c('0','0')
ans<-inpboxc2(vlabel,vcombo1,vcombo2,inp)

Value

List with the user answers as characters

Author(s)

Gianmarco Polotti

References

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


polgia0/Menucollection documentation built on May 20, 2019, 10 a.m.