Learn R Programming

spnet (version 0.9.1-0)

graph.map: Get the map to a SpatialNetwork object

Description

This generic method intends to extract the map object. Currently only SpatialPolygons from the sp package are supported.

Usage

graph.map(object)
"graph.map"(object)
"graph.map"(object) <- value

Arguments

object
the SpatialNetwork object for which we want to get the map.
value
the map.

Methods (by class)

  • SpatialNetwork: method for SpatialPolygons objects.
  • object = SpatialNetwork,value = SpatialPolygons: method for SpatialPolygons objects.