qmap_r | R Documentation |
Quick leaflet map of raster
qmap_r(
r,
r_title,
na0 = T,
method = "ngb",
boundary_shp =
"~/Gdrive Ecoquants/projects/bbnj/data/derived/boundary/high_seas_s05.shp"
)
r |
raster |
r_title |
title of raster layer |
na0 |
convert 0s to NA (default = FALSE) |
method |
interpolation method for web mercator, "ngb" (nearest neighbor) or "bilinear" (default "ngb") |
boundary_shp |
path to high seas boundary shapefile |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.