Learn R Programming

osmplotr (version 0.2.0)

list2df: list2df

Description

Converts lists of coordinates to single data frames

Usage

list2df(xy, islines = FALSE)

Arguments

xy
A list of coordinates extracted from an sp object
islines
Set to TRUE for spatial lines, otherwise FALSE

Value

  • data frame