tomato_anonym: Spatial network of Montpellier city supply in tomato

Description Usage Format Examples

Description

155 nodes (vertices) and 228 links (edges). x and y vertices attributes contains spatial coordinates in RGF93 Coordinates Reference System EPSG:2154.

Usage

1

Format

An object of class "igraph"; see igraph.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Load data and rename graph as "g"
library(igraph)
data(tomato_anonym)
g = tomato_anonym
## Inspect vertices and edges dataframes
v = get.data.frame(g, "vertices")
e = get.data.frame(g, "edges")
str(v)
str(e)
## Check geographical cooordinates
## By default,  igraph uses V(g)$x and V(g)$y as layout coordinates
## We don't need conversion to view the spatial network
plot(g)

MiloMonnier/supplynet documentation built on Feb. 16, 2021, 8:03 p.m.