Learn R Programming

Tivy (version 0.1.1)

prepare_polygons: 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")
)

Value

List of polygons for visualization.

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.