alldirected            package:mathgraph            R Documentation

_T_r_a_n_s_f_o_r_m _t_o _D_i_r_e_c_t_e_d _G_r_a_p_h

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

     Returns a '"mathgraph"' object which has all edges directed.

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

     alldirected(x, ...)

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

       x: an object representing a mathematical graph. 

     ...: other arguments for derived functions. 

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

     The default method merely creates an error.

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

     A '"mathgraph"' object with any undirected edges in the  input
     split into two arcs.

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

     Nick Efthymiou

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

     S Poetry, Patrick J. Burns, Section 13.3, p. 305

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

     'mathgraph'

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

     my.graph <- mathgraph(~ 1:3 / 2:4) # undirected graph with 3 edges
     alldirected(my.graph) # directed graph with 6 arcs

