R/tidy_geom.R

Defines functions tidy_geom

Documented in tidy_geom

#' Calculate grid based on type and seed
#'
#' @param geom Geom generated by calculate_geom
#' @return Tidy version of the geom
#' @keywords internal

tidy_geom <- function(geom){
  grid <- sf::st_as_sf(geom[[2]])
  return(grid)
}
ian-flores/tidymapgrid documentation built on Nov. 5, 2019, 2:40 p.m.