classTree             package:classGraph             R Documentation

_b_u_i_l_d_s _a _d_i_r_e_c_t_e_d _g_r_a_p_h, _t_y_p_i_c_a_l_l_y _a _t_r_e_e _f_r_o_m _a _c_l_a_s_s _O_b_j_e_c_t

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

     From an S4 class, by investigating all subclasses, a inheritance
     graph is built, a directed graph, often a tree.

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

     classTree(Cl, all = FALSE, ...)

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

      Cl: class name ...

     all: logical indicating if all instead of just direct sub-classes
          should be used.

     ...: ....

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

     an R object inheriting from class 'graph'.

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

     Martin Maechler

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

     'class2Graph', ...

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

     trGclass <- classTree("graph")
     as(trGclass, "matrix")
     plot(trGclass) # using package 'Rgraphviz'

