check_coordinates: Check if the coordinates are correct.

View source: R/utils.R

check_coordinatesR Documentation

Check if the coordinates are correct.

Description

Check if the coordinates are correct.

Usage

check_coordinates(xmn, xmx, ymn, ymx)

Arguments

xmn, xmx, ymn, ymx

The coordinates defining the study area.

Value

Return a set of valid coordinates.

Examples

check_coordinates(NA, NA, NA, NA)
check_coordinates(-200, 0, 0, 90)
check_coordinates(20, 0, 90, 0)


crestr documentation built on Jan. 6, 2023, 5:23 p.m.