newgraph: Add an igraph object to a predefined slot in an icosahedral...

newgraphR Documentation

Add an igraph object to a predefined slot in an icosahedral grid

Description

Add an igraph object to a predefined slot in an icosahedral grid

Usage

newgraph(gridObj, ...)

## S4 method for signature 'trigrid'
newgraph(gridObj, ...)

Arguments

gridObj

(trigrid, hexagrid) An icosahedral grid.

...

Arguments passed to the gridgraph function.

Value

A new (trigrid or hexagrid) object with the recalculated graph.

Examples

#create a grid
g<-trigrid(4, graph=FALSE)
g<-newgraph(g)


adamkocsis/icosa documentation built on April 16, 2023, 10:05 p.m.