write.pajek.bgraph          package:igraph          R Documentation

_W_r_i_t_e _g_r_a_p_h_s _a_n_d _t_h_e_i_r _c_o_h_e_s_i_v_e _b_l_o_c_k _h_i_e_r_a_r_c_h_y _a_s _P_a_j_e_k _f_i_l_e_s

_D_e_s_c_r_i_p_t_i_o_n:

     Creates a series of Pajek-compatible files from a 'bgraph' object
     as output by 'cohesive.blocks'.

_U_s_a_g_e:

     write.pajek.bgraph(graph, filename, hierarchy = FALSE)

_A_r_g_u_m_e_n_t_s:

   graph: A 'bgraph' object as output by 'cohesive.blocks'.

filename: The filename _without file extension_ to use.

hierarchy: Logical. Should a separate '.clu' file be created for each
          block in the graph? (see details)

_D_e_t_a_i_l_s:

     This function writes at least two files to disk. First, the file
     'filename.net' contains the basic graph structure-vertices and
     edges. The second is the file 'filename.clu', which clusters the
     vertices according to vertex connectivity of their maxmally
     cohesive subgraph. This uses the same logic as the default vertex
     coloring in 'plot.bgraph'.

     If 'hierarchy' is 'TRUE', more detailed and complete information
     is written to a further series of files.   For each block a
     seperate '.clu' file is written, each named like
     "'filename_block2(1).clu'", where the first number refers to the
     block number and the number in parenthesis refers to that block's
     cohesion. Finally, if 'hierarchy' is 'TRUE', a tree representing
     the block hierarchy is written to 'filename_blocktree.net',
     allowing the subset-structure of the individual block structures
     to be determined.

_N_o_t_e:

     This function has not been thoroughly tested, and may contain bugs

_A_u_t_h_o_r(_s):

     Peter McMahan peter.mcmahan@gmail.com

_R_e_f_e_r_e_n_c_e_s:

     Pajek website: <URL:
     http://vlado.fmf.uni-lj.si/pub/networks/pajek/>

_S_e_e _A_l_s_o:

     'cohesive.blocks', 'plot.bgraph', 'write.graph'

