findElement              package:iSPlot              R Documentation

_F_i_n_d _a_n _e_l_e_m_e_n_t _o_n _a _p_l_o_t

_D_e_s_c_r_i_p_t_i_o_n:

     The findElement function will provide the same functionality as
     choosing the Find menu item from the Edit menu on the control
     window.  To find an element on the view, you can either match on a
     row name or a data element.

_U_s_a_g_e:

     findElement(value, matchOn = "Row")

_A_r_g_u_m_e_n_t_s:

   value: the value to find 

 matchOn: matchOn will be "Row" if the value is a row name and it will
          be "Data" if the value is a data element

_A_u_t_h_o_r(_s):

     Elizabeth Whalen

_E_x_a_m_p_l_e_s:

       if (interactive())
       {
         loadData("USArrests")
         setActiveMVC("USArrests")
         createSPlot(varx="Murder", vary="Assault")
         # this causes a point to be highlit when the left button is clicked 
         setCallFunc("leftButtonClick", "highlight a point")
         findElement("Idaho")
       }

