powered by
Add an igraph object to a predefined slot in an icosahedral grid
newgraph(gridObj, ...)# S4 method for trigrid newgraph(gridObj, ...)
# S4 method for trigrid newgraph(gridObj, ...)
(trigrid, hexagrid) An icosahedral grid.
trigrid
hexagrid
Arguments passed to the gridgraph function.
gridgraph
A new (trigrid or hexagrid) object with the recalculated graph.
# NOT RUN { #create a grid g<-trigrid(4, graph=FALSE) g<-newgraph(g) # }
Run the code above in your browser using DataLab