Last chance! 50% off unlimited learning
Sale ends in
Produces an elevation shaded image from a raster
elevation_shade(
raster_dem,
elevation_palette = c("#54843f", "#808080", "#FFFFFF"),
return_png = TRUE,
png_opacity = 0.9
)
a raster
a vector of colours to use for elevation shading
TRUE
to return an image. FALSE
will return a raster
Opacity of the returned image. Ignored if return_png = FALSE
elevation shaded image
# NOT RUN {
elevation_shade(example_raster())
# }
Run the code above in your browser using DataLab