R igraph manual pages

Use this if you are using igraph from R

.extract_constructor_and_modifiers {igraph}R Documentation

Takes an argument list and extracts the constructor specification and constructor modifiers from it.


This is a helper function for the common parts of make_ and sample_.


.extract_constructor_and_modifiers(..., .operation, .variant)



Parameters to extract from


Human-readable description of the operation that this helper is a part of


Constructor variant; must be one of ‘make’, ‘graph’ or ‘sample’. Used in cases when the same constructor specification has deterministic and random variants.


A named list with three items: ‘cons’ for the constructor function, ‘mods’ for the modifiers and ‘args’ for the remaining, unparsed arguments.

[Package igraph version 1.3.4 Index]