View source: R/raster_rescale.R
rasterCdf | R Documentation |
Compute an empirical cumulative distribution function for a raster.
rasterCdf(x)
x |
A RasterLayer object |
RasterLayer
r <- raster::raster(system.file("extdata/elev_12_5m.tif", package="runout.opt"))
r_ecdf <- rasterCdf(r)
raster::plot(r_ecdf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.