quantile

0th

Percentile

RasterLayer quantiles

Compute quantiles for the cell values of a RasterLayer

Keywords
methods, spatial
Usage
quantile(x, ...)
Arguments
x
A RasterLayer object
...
Additional arguments: na.rm=TRUE, ncells=NULL, and additional arguments to the stats::quantile function, see quantile
Value

  • A vector of quantiles

See Also

density, cellStats

Aliases
  • quantile
  • quantile,RasterLayer-method
Examples
r <- raster(ncol=100, nrow=100)
r[] <- rnorm(ncell(r), 0, 50)
quantile(r)
quantile(r, probs = c(0.25, 0.75), type=7,names = FALSE)
Documentation reproduced from package raster, version 1.1.7, License: GPL (>= 3)

Community examples

Looks like there are no examples yet.