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 Sept. 25, 2023, 5:06 p.m.