getClasses               package:FKBL               R Documentation

_R_e_t_u_r_n_s _t_h_e _c_l_a_s_s_e_s _o_f _a _g_i_v_e_n _d_a_t_a

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

     Returns the classes of a given data. The class vector must be the
     last column.

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

      getClasses(data)

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

     Takes the data.

    data: The dataset which contain the classes.

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

     The classes of the problem.

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

      data(trainA)
      getClasses(trainA)

