View source: R/new_functions.R
make_extent | R Documentation |
If using a list of coordinates (e.g. study sites) or a polygon (e.g. a species range map) to define the area of interest, this will convert it to an extent
make_extent(lat = NULL, lon = NULL, polygon = NULL)
lat |
a numeric or character vector of latitudes |
lon |
a numeric or character vector of longitudes |
polygon |
an object of class SpatialPolygons |
an object of class extent
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.