CPart2                 package:FKBL                 R Documentation

_C_r_e_a_t_e_s _a _f_u_z_z_y _p_a_r_t_i_t_i_o_n

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

     This is the implementation in R of a fuzzy partition, described
     in, chapter 1, pages 005-009 at Ishibuchi et al. . It has a sister
     function, with different parameter, but with the same objective.
     It provides a wrapper to create the appropriate list with the
     appropriate codes. A partition is defined by a set of values which
     mark the limits and top point of every triangular division. The
     divisions are in a chain, the left and right limit of a division,
     are the top points of its neighbors. And in the same way, the top
     point of a given partition is the limit of its neighbors.
     Graphically this is a succession of mixed triangles, where the
     projection of a height of a given triangle, marks the point where
     two other triangles join.

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

      CPart2(x)

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

     Takes a vector of doubles. It need not to be sorted, as the
     function  sorts it by default.

       x: The vector of doubles.

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

     Return a list, the first three elements (numElem, numMin and
     numMax) are the number of elements, the minimum value and the
     maximum. The fourth one, is the actual partition.

     list(numMin=x1, numMax=x2, part=x3, numElem=x5)

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

      vectr<-vector("numeric",3);
      vectr[1]=0.0;
      vectr[2]=0.5;
      vectr[3]=1;
      CPart2(vectr) 

