Learn R Programming

Tivy (version 0.1.1)

extract_points_between_latitudes: Extract points between latitudes

Description

Extracts all points of a parallel line between two latitudes.

Usage

extract_points_between_latitudes(line, lat_min, lat_max, lat_name, lon_name)

Value

Matrix of points with longitude and latitude columns.

Arguments

line

Data frame representing a line parallel to the coast.

lat_min

Minimum latitude (southernmost).

lat_max

Maximum latitude (northernmost).

lat_name

Name of latitude column.

lon_name

Name of longitude column.