setIterator: Create an igraph Iterator Substitution Function

Description Usage Arguments

View source: R/misc-utilities.R

Description

Takes either igraph iterator functions E and V, and creates a mirror function S that can be used in code intended to work on either edges or vertices. Also creates the replacement function. Creates the object in the parent environment.

Usage

1
setIterator(iterator)

Arguments

iterator

either "edge", or "vertex"


robertness/lucy documentation built on May 27, 2019, 10:32 a.m.