R/sp_lims.R

Defines functions sp_lims

Documented in sp_lims

#' Function to get the contacts
#' 
#' @param x A sf data.frame
#' @export

sp_lims <- function(x){
  bb <- st_bbox(x)
  lims(x = bb[c(1, 3)], y = bb[c(2, 4)])
}
jpablo91/STNet documentation built on Feb. 18, 2024, 7:36 a.m.