inpboxlist: Input Box with a list box

Description Usage Arguments Details Value Author(s) References

View source: R/menucollection.r

Description

Input box for multiple selection among many possibilities

Usage

1
inpboxlist(vnames, ltitle)

Arguments

vnames

character vector with the text label of the box

ltitle

title of the vector

Details

See example for the element order in the vectors :
inpboxlist.png

To get the menu, just use the following code:
vnames<-as.character(1:20)
ltitle<-'Number choice'
ans<-inpboxlist(vnames,ltitle)

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


MenuCollection documentation built on May 29, 2017, 9:59 p.m.