Rdocumentation
powered by
Learn R Programming
popgraph (version 1.0)
to_SpatialPoints: Extract nodes as SpatialPoints
Description
Returns spatial points object representing location of the nodes in the graph.
Usage
to_SpatialPoints(graph, longitude = "Longitude", latitude = "Latitude")
Arguments
graph
An object of type
population_graph
longitude
The key for the attribute representing Longitude (default="Longitude")
latitude
The key for the attribute representing Latitude (default="Latitude")
Value
An object of type SpatialPoints