Description Usage Arguments Details Value Author(s) References
View source: R/menucollection.r
Input box for a choice between two options
1 | inpboxr2(vlabel, inp)
|
vlabel |
character vector with the text label of the box |
inp |
character vector with the initialization |
See example for the element order in the vectors :
To get the menu, just use the following code:
vlabel<-c('options','option1','option2')
inp<-c('TRUE','FALSE')
ans<-inpboxr2(vlabel,inp)
List with the user answers as characters
Gianmarco Polotti
Lawrence M.F.,Verzani J., (2012) Programming Graphical User Interfaces in R,CRC Press Taylor & Francis Group
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.