Description Usage Arguments Details Value Author(s) References
View source: R/menucollection.r
Input box for multiple inputs
1 | inpboxk6k6e6(vlabel, vtitle, inp)
|
vlabel |
character vector with the text label of the box |
vtitle |
character vector with the titles of the two columns |
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('a1','a2','a3','a4','a5','a6','b1','b2','b3','b4','b5','b6','c1','c2','c3','c4','c5','c6')
vtitle<-c('title1','title2')
inp<-c(c('A','B','C','D','E','F'),rep('FALSE',6),rep('TRUE',6))
ans<-inpboxk6k6e6(vlabel,vtitle,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.