wDG               package:dynamicGraph               R Documentation

_D_E_P_R_E_C_A_T_E_D: _I_n_t_e_r_f_a_c_e _t_o _d_y_n_a_m_i_c_G_r_a_p_h

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

     A wrapper to 'dynamicGraphMain' for adding models and views,
     represented by a simple dynamic graph, to an existing
     'dynamicGraph'.

     ( The function was a part of the deprecated interface function
     'DynamicGraph': Use the method 'dg' on object of
     'dg.simple.graph-class' in stead. )

     The wrapper is depricated: use the methods 'dg',  'addModel',
     'addView', 'replaceModel', or 'replaceView'.

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

     wDG(sdg = NULL, object = NULL, 
         frameModels = NULL, frameViews = NULL, graphWindow = NULL, 
         dg = NULL, addModel = FALSE, addView = FALSE, overwrite = FALSE, 
         returnNewMaster = FALSE, redraw = FALSE, control = dg.control(...), ...)

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

     sdg: Object of class 'dg.simple.graph-class' 

  object: The model 'object', or NULL, see 'dg.Model-class'. 

frameModels: An object of class 'DynamicGraph-class'. 'frameModels' is
          the object for a dataset (defining vertics and blocks) and
          the models on that dataset. 

frameViews: An object of class 'DynamicGraphModel-class'. 'frameViews'
          is the object for a model and the views of that model. 

graphWindow: An object of class 'DynamicGraphView-class'. 'graphWindow'
          is the object for a view of a model. 

      dg: An optional object of class 'dg.graphedges-class'. If this
          agrument is given then edges and factors are extracted from
          the argument. Similar with an optional argument 'Arguments'. 

addModel: Logical, if 'addModel' then a model is added to the argument
          'frameModels', and a view of the model is drawn.  If the
          argument 'overwrite' is TRUE and the argument 'graphWindow'
          is given  then the model of 'graphWindow' is replaced by the
          model argument 'object'. If the argument 'overwrite' is TRUE
          and the argument 'frameViews' is given  then the model of
          'frame'\-{Views} is replaced by the model argument 'object'. 

 addView: Logical, if 'addView' then a view of type set by the argument
          'viewType' for the model of the argument 'frameViews' is
          added. 

overwrite: Logical, see the argument 'addModel'.  The argument
          'returnLink' must be set to TRUE to overwrite a view. 

  redraw: Logical. If TRUE then the dynamicGraph of the arguments
          'frameModels' is 'redrawn'. New instances of the windows are
          made. 

returnNewMaster: Logical. Alternative implementation of  'addModel',
          using the code of 'redraw'. As 'redraw', but the windows of 
          'frameModels' exists,  and a new model is added. 

 control: Options for 'DynamicGraph' and 'dynamicGraphMain', see
          'dg.control'. 

     ...: Additional arguments to 'dynamicGraphMain'. 

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

     The returned value from 'dynamicGraphMain'.

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

     Jens Henrik Badsberg

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

     require(tcltk); require(dynamicGraph)

