R/rasterizeptsbathy.R

Defines functions rasterizeptsbathy

Documented in rasterizeptsbathy

#' Title
#'
#' @param grid
#'
#' @return
#' @export
#'
#' @examples
#'
#' @importFrom magrittr %>%
#' @importFrom raster rasterFromXYZ crs
rasterizeptsbathy <- function(grid){
  grid  %>%
    select(X, Y, value) %>%
    raster::rasterFromXYZ(crs = raster::crs("+init=epsg:2154"))
}
SebastienBoutry/lakemetrics documentation built on April 25, 2023, 10:34 p.m.