| selectDouble {goCluster} | R Documentation |
This function generates a textual menu that will allow the user to choose a floating point number.
selectDouble(message, min, max)
message |
The message that will be shown together with the menu. |
min |
The minimal number that is allowed. |
max |
The maximal number that is allowed. |
selectDouble displays the given message to the user and returns
the
number the user chooses as double. The number needs to be greater than
or equal to min as well as less than or equal to max.
The number chosen by the user as double.
Gunnar Wrobel, http://www.gunnarwrobel.de.
selectCore.
selectNumber.
selectOption.
## This example needs to be commented out since it requires user input
## and would prevent R CMD check from running. Please remove the comment
## in the following line to run the example.
## selectDouble("Please choose a real number between 0 and 10",0,10)