createEdgeData.ggobi         package:Rggobi         R Documentation

_G_G_o_b_i _D_a_t_a_s_e_t _u_s_e_d _f_o_r _e_d_g_e_s/_c_o_n_n_e_c_t_i_o_n_s

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

     This function creates an empty  GGobi dataset that can be used to
     connect points within another dataset. The idea is that we create
     this ``invisible'' dataset within the GGobi instance. We don't
     specify values for the edges in this call, but use
     'setEdges.ggobi' for this.

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

     createEdgeData.ggobi(numEdges, labels=rep("", numEdges), colors=NULL,
                           .gobi=getDefaultGGobi(), name = "R edge data")

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

numEdges: the total number of edges to create

  labels: the labels for the edges, which can be used in annotating the
          connections on a plot

  colors: the colors to use for the edges when displaying them

   .gobi: the GGobi instance

    name: the name to use for this dataset in tab labels and when
          referring to it.

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

     An object of class 'ggobiEdgeDataset' which extends
     'ggobiDataset'.

_N_o_t_e:

     The edge mechanism in GGobi is very powerful and supports a very
     general form of linking. As a result, simple uses may appear
     complex. The idea with this interface is to try to hide the
     complexity. However, you are advised to read the GGobi and RGGobi
     manuals to get a better understanding of edges and  linking.

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

     Duncan Temple Lang

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

     <URL: http://www.ggobi.org/RSggobi> <URL: http://www.ggobi.org>

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

     'getEdges.ggobi' 'setEdges.ggobi' 'setDisplayEdges.ggobi'

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

