coords2bbox: Grabs lat and lon and returns bbox

Description Usage Arguments Value Author(s)

View source: R/coords2bbox.R

Description

Quick function to return a bounding box from a 'data.frame' that has longitude and latitude columns.

Usage

1
coords2bbox(data, longitude = "Longitude", latitude = "Latitude")

Arguments

data

A 'data.frame' with coordinates in it.

longitude

The name of the column for the x-axis coordinate

latitude

The name of the column for the y-axis coordinate

Value

A bounding box (left, bottom, right, top)

Author(s)

Rodney Dyer <rjdyer@vcu.edu>


dyerlab/scape documentation built on Nov. 4, 2019, 11:05 a.m.