powered by
Approximates the zscale of a raster Digital Elevation Model for 'rayshader'
raster_zscale(raster, height_units = "m")
A raster object of elevation data values
Elevation units of the raster, c("m", "feet")
a number to be used as zscale in rayshader::plot_3d()
# NOT RUN { raster_zscale(example_raster()) # }
Run the code above in your browser using DataLab