exportPajek() was renamed to export_pajek() to create a more
consistent API.
Arguments
- graph
For
cohesive_blocks()a graph object of classigraph. It must be undirected and simple. (Seeis_simple().)For
graphs_from_cohesive_blocks()andexport_pajek()the same graph must be supplied whose cohesive block structure is given in theblocks()argument.- file
Defines the file (or connection) the Pajek file is written to.
If the
project.fileargument isTRUE, then it can be a filename (with extension), a file object, or in general any king of connection object. The file/connection will be opened if it wasn't already.If the
project.fileargument isFALSE, then several files are created andfilemust be a character scalar containing the base name of the files, without extension. (But it can contain the path to the files.)See also details below.
- project.file
Logical scalar, whether to create a single Pajek project file containing all the data, or to create separated files for each item. See details below.
Related documentation in the C library
vcount(), write_graph_edgelist(), write_graph_pajek(), write_graph_graphml(), write_graph_gml(), write_graph_dot(), write_graph_leda(), edges(), get_eids(), ecount()
