Learn R Programming

MenuCollection (version 1.1)

messageyesno: Yes/No message question

Description

Box with a choice between yes/no

Usage

messageyesno(vlabel)

Arguments

vlabel
text of the question

Value

  • list with the user answers as character

Details

See example for the element order in the vectors
messageyesno.png
To get the menu just use the following code: vlabel<-'Variable Exists.Overwrite ?' ans<-messageyesno(vlabel)

References

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