export_shp_SpatNet: Export spatial social network as a point and a line...

View source: R/ExportShp.R

export_shp_SpatNetR Documentation

Export spatial social network as a point and a line shapefiles in a folder called shp inside the working directory. The shapefiles are not projected.

Description

This function exports the nodes and edges making up the spatial social network as a point and a line shapefile respectively

Usage

export_shp_SpatNet(graph, projstr = CRS("+init=epsg:3395"))

Arguments

graph

igraph object with V(g)$X and V(g)$Y having the X and Y co-ordinates of each node

projstr

projection string for the input co-ordinates. Defaults to CRS("+init=epsg:3395").


diptosarkar/SpatNet documentation built on April 19, 2022, 9:15 a.m.