to_SpatialLines: Converts edge set to SpatialLines object

View source: R/to_SpatialLines.R

to_SpatialLinesR Documentation

Converts edge set to SpatialLines object

Description

This is a convienence function that takes the edge set and returns a SpatialLines object.

Usage

to_SpatialLines(graph, latitude = "Latitude", longitude = "Longitude", ...)

Arguments

graph

An object of type popgraph. This graph must already be decroated with latitude and longitude attributes.

latitude

The name of the Latitude attribute (default="Latitude")

longitude

The name of the Longitude attribute (default="Longitude")

...

Ignored

Value

A SpatialLines object

Author(s)

Rodney J. Dyer <rjdyer@vcu.edu>


dyerlab/popgraph documentation built on July 22, 2022, 5:42 p.m.