partition               package:Rfwdmv               R Documentation

_I_n_t_e_r_a_c_t_i_v_e _G_r_o_u_p _A_s_s_i_g_n_m_e_n_t

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

     This function produces a plot of the Mahalanobis distances versus
     subset size similar to that produced by 'fwdmvDistancePlot'.  The
     function then waits for the user to draw a line segment on the
     plot (which is done with two consecutive mouse clicks).  The units
     whose trajectories cross this line segment are assigned to the
     group specified by the 'group' argument.

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

     partition(x, group = "next") 

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

       x: an 'fwdmv' object.

   group: an integer value specifying which group the units
          corresponding to the selected trajectories should be
          assigned.  Possible values are '1' to 'n.groups + 1' where
          'n.groups' is the number of groups in the 'fwdmv' object. 
          The default '"next"' is to assign units to a new group.

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

     an 'fwdmv' object with the 'groups' element and the 'unassigned'
     element updated according to the description.

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

     Kjell Konis

_R_e_f_e_r_e_n_c_e_s:

     Atkinson, A. C., Riani, M. and Cerioli, A. (2004) Exploring
     Multivariate Data with the Forward Search. Springer-Verlag New
     York.

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

     'fwdmv.object', 'fwdmv', 'fwdmvPartitionPlot'

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

     # data(fondi.dat)
     # fondi.init <- fwdmv.init(fondi.dat)
     # p1 <- partition(fondi.init)

     # draw a line segment intersecting several trajectories #
     # and view the allocation #

