Learn R Programming

MenuCollection (version 1.1)

inpboxlist: Input Box with a list box

Description

Input box for multiple selection among many possibility

Usage

inpboxlist(vnames,ltitle)

Arguments

vnames
character vector with the text label of the box
ltitle
title of the vector

Value

  • list with the user answers as character

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)

References

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