R/utils.R

Defines functions yrange xrange

#' @importFrom raster xmin xmax
xrange <- function(x) {
  c(xmin(x), xmax(x))
}
#' @importFrom raster ymin ymax
yrange <- function(x) {
  c(ymin(x), ymax(x))
}

Try the graticule package in your browser

Any scripts or data that you put into this service are public.

graticule documentation built on May 2, 2019, 9:43 a.m.