plotNetwork              package:rattle              R Documentation

_P_l_o_t _a _c_i_r_c_u_l_a_r _m_a_p _o_f _n_e_t_w_o_r_k _l_i_n_k_s _b_e_t_w_e_e_n _e_n_t_i_t_i_e_s

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

     Plots a circular map of entities and their relationships. The
     entities are around the edge of the circle with lines linking the
     entities depending on their relationships as represented in the
     supplied FLOW argument. Line widths represent relative magnitude
     of flows, as do line colours, and the font size of a label for an
     entity represents the size of the total flow into that entity.
     Useful for displaying, for example, cash flows between entities.

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

     plotNetwork(flow)

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

    flow: a square matrix of directional flows.

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

     The FLOW is a square matrix that records the directional flow and
     magnitude of the flow from one entity to another.  The flow may
     represent a flow of cash from one company to another company. The
     dimensions of the square matrix are the number of entities
     represented.

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

     Graham.Williams@togaware.com

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

     Package home page: <URL: http://rattle.togaware.com>

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

     # Create a small sample matrix.
     flow <- matrix(c(0, 10000, 0, 0, 20000,
                      1000, 0, 10000, 0, 0,
                      5000, 0, 0, 0, 3000,
                      0, 1000000, 600000, 0, 0,
                      0, 50000, 0, 500000, 0),
                    nrow=5, byrow=TRUE)
     rownames(flow) <- colnames(flow) <- c("A", "B", "C", "D", "E")
     plotNetwork(flow)

     # Use data from the network package.
     data(flo)
     plotNetwork(flo)

