#' 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"))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.