bGraph              package:classGraph              R Documentation

_C_r_e_a_t_e _a "_B_r_a_n_c_h _G_r_a_p_h", _a _s_i_m_p_l_e _t_r_e_e _w_i_t_h _r_o_o_t _a_n_d
_n _b_r_a_n_c_h_e_s / _l_e_a_v_e_s

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

     ..

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

     bGraph(n, root = "Mom",
            leaves = paste(l.prefix, seq(length = n), sep = ""),
            l.prefix = "D", weights = NULL,
            mode = c("undirected", "directed"))

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

       n: .......

    root: the node on which to root the tree.

  leaves: the nodes to be used as leaves.

l.prefix: a string specifying .....

 weights: .......

    mode: string indicating which mode is to be used.

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

     a graph object of class 'graphNEL'.

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

     Martin Maechler, Aug.2005

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

     class 'graphNEL'; 'ftM2graphNEL'.

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

     ##---- Should be DIRECTLY executable !! ----
     ##-- ==>  Define data, use random,
     ##--    or do  help(data=index)  for the standard data sets.

