Skip to contents

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

Usage

newgraph(gridObj, ...)

# S4 method for 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)