checkIndivTypes            package:iSPlot            R Documentation

_C_h_e_c_k _t_h_a_t _n_e_w _d_a_t_a _p_o_i_n_t _m_a_t_c_h_e_s _o_t_h_e_r _d_a_t_a

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

     checkIndivTypes checks that the data being added to a data frame
     or  matrix is of the correct data type to match other elements in
     the column.

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

     checkIndivTypes(datVec, datEle)

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

  datVec: the column data

  datEle: the new data element to add

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

     Returns a boolean - TRUE if the types matched; otherwise, FALSE.

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

     Elizabeth Whalen

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

     'addColumn', 'modify'

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

       data(USArrests)
       loadDFData(USArrests,"USArrests")
       # modify should be called by creating a view and setting the view mode
       # and then interacting with that view
       # modify will call checkIndivTypes
       modify("USArrests","Minnesota","highlit",TRUE)
       # to see the changes
       get("dfList",dataEnv)[["USArrests"]][["curDF"]]

