prepare_polygons {Tivy} | R Documentation |
Prepare polygons from coordinate data
Description
Helper function to process data and prepare polygons using preexisting parallel lines.
Usage
prepare_polygons(
data,
coastline,
coast_parallels = NULL,
column_names = c("lat", "lon", "dc")
)
Arguments
data |
Data frame with coordinates. |
coastline |
Data frame with coastline. |
coast_parallels |
List of data frames with lines parallel to the coast. |
column_names |
Vector with column names in coast_parallels data frames. |
Value
List of polygons for visualization.
[Package Tivy version 0.1.0 Index]