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 Aug. 20, 2024, 1:35 a.m.