selectOption            package:goCluster            R Documentation

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

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

     This function generates a menu that allows the user to choose
     amongst the options specified.

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

     selectOption(options, message)

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

 options: The available options as character vector.

 message: The informational message that will be shown together with
          the menu.

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

     'selectOption' will offer a menu to choose one of the options
     given by the character vector 'options'.

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

     The choice of the user is being returned as a string.

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

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

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

     'selectCore', 'selectDouble', 'selectNumber'.

_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.

     ## selectOption(c("A","B","C"), "Please choose one of the following options")

