Network tools              package:deal              R Documentation

_T_o_o_l_s _f_o_r _m_a_n_i_p_u_l_a_t_i_n_g _n_e_t_w_o_r_k_s

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

     Various extraction/replacement functions for networks

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

     modelstring(x)
     makenw(tb,template)
     as.network(nwstring,template)
     size(x)
     banlist(x)
     banlist(x) <- value
     getnetwork(x)
     gettrylist(x)

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

       x: an object of class 'network'.

      tb: a table output from 'autosearch' or 'heuristic' in the list
          property 'table'. Can be translated into a 'networkfamily'.

template: an object of class 'network' with the same nodes as the
          networks described in the table 'tb'.

nwstring: a string representing the network.

   value: a numeric matrix with two columns. Each row contains the
          indices 'i -> j' of arrows that may not be allowed in the
          directed acyclic graph.

_D_e_t_a_i_l_s:

     The string representation of a network is a minimal size
     representation to speed up calculations. The functions
     'modelstring', 'as.network' and 'makenw' converts between the
     string represention and network objects.

     'size' extracts the number of nodes in a network object.

     'banlist' extracts the banlist from a network object.

     'getnetwork' and 'gettrylist' are accessor function that extracts
     a network object or trylist from the result from 'autosearch',
     'heuristic', 'learn', 'perturb',  'networkfamily', 'drawnetwork'.

