R: 'igraph' Helper Functions

migraph {propr} | R Documentation

## `igraph` Helper Functions

### Description

`igraph` Helper Functions

### Usage

    migraph.add(g, names1, names2, force = TRUE)

    migraph.color(g, names1, names2, col)

    migraph.clean(g)

### Arguments

`g` | An `igraph` object.
`names1, names2` | A character vector. The `names1` argument defines a first set of vertices. The `names2` argument defines a second set of vertices to which the first set connects (i.e., element-wise), thereby defining a set of edges.
`force` | A boolean. If true, the function adds any missing vertices before adding edges. If false, the function only adds edges that have both vertices already present.
`col` | A character string. The color applied to all vertices (or edges) specified by the `names1` (or `names2`) argument.

### Value

An `igraph` object.

[Package propr version 4.1.6 Index]