selectNumber            package:goCluster            R Documentation

_A _m_e_n_u _f_o_r _c_h_o_o_s_i_n_g _a_n _i_n_t_e_g_e_r

_D_e_s_c_r_i_p_t_i_o_n:

     This function generates a menu that allows the user to choose a
     number.

_U_s_a_g_e:

     selectNumber(message, min, max)

_A_r_g_u_m_e_n_t_s:

 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.

_D_e_t_a_i_l_s:

     'selectNumber' displays the given message to the user and returns
     the number the user chooses as 'integer'. This number needs to be
     greater than or equal to 'min' as well as less than or equal to
     'max'.

_V_a_l_u_e:

     The number chosen by the user as 'integer'.

_A_u_t_h_o_r(_s):

     Gunnar Wrobel, <URL: http://www.gunnarwrobel.de>.

_S_e_e _A_l_s_o:

     'selectCore'. 'selectDouble'. 'selectOption'.

_E_x_a_m_p_l_e_s:

     ## 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.

     ## selectNumber("Please choose a number between 0 and 10",1,9)

