getTest                 package:FKBL                 R Documentation

_G_e_t_s _t_h_e _t_r_a_i_n _d_a_t_a _f_r_o_m _a _p_r_o_b_l_e_m

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

     This function belongs to a pair, whose other function is 
     getTrain. It divides the problem in the number  of chunks given.
     And returns the i-th chunck.

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

      getTest(data,chunks,i)

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

     Takes the data, the number of chunks and the test chunck.

    data: The data of the problem.

  chunks: The number of chunks to divide the data.

       i: The chunk to return.

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

     A dataset with the test data.

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

      data(trainA)
      getTest(trainA,10,1)

