Displaying 1 result from an estimated 1 matches for "menu1a".
Did you mean:
menu1
2014 Sep 15
1
apply block of if statements with menu function
...ubscribers,
For a menu:
menu(c('a','b','c','d'))
How to create a function that will apply to specific menu choice
objects? For example:
object1<-function (menuifchoices) {
menu1<-menu(c('a','b','c','d'))
if (menu1==1)
...
menu1a<-menu...
if (menu1a==1)
...
menu2a<-menu...
if (menu2a==1)
...
menu2
<-menu(c('a','b','c','d'))
if (menu1==2)
...
}
The request action is that a user can select a menu option that will
activate a series of "multiple choice" questions,...