exportPajek: Calculate Cohesive Blocks

View source: R/cohesive.blocks.R

exportPajekR Documentation

Calculate Cohesive Blocks

Description

[Deprecated]

exportPajek() was renamed to export_pajek() to create a more consistent API.

Usage

exportPajek(blocks, graph, file, project.file = TRUE)

Arguments

graph

For cohesive_blocks() a graph object of class igraph. It must be undirected and simple. (See is_simple().)

For graphs_from_cohesive_blocks() and export_pajek() the same graph must be supplied whose cohesive block structure is given in the blocks() argument.

file

Defines the file (or connection) the Pajek file is written to.

If the project.file argument is TRUE, 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.file argument is FALSE, then several files are created and file must 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.


igraph/rigraph documentation built on May 19, 2024, 6:19 a.m.