Description Usage Arguments Value See Also Examples
Compute quantiles for the cell values of a RasterLayer. If you want to compute quantiles for each cell across a number of layers, you can use calc(x, fun=quantile)
.
1 |
x |
Raster object |
... |
Additional arguments: |
ncells can be used to set the number of cells to be sampled, for very large raster datasets.
A vector of quantiles
1 2 3 4 |
Loading required package: sp
0% 25% 50% 75% 100%
-179.041343 -33.531995 -1.076153 32.660867 190.988672
[1] -33.53199 32.66087
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.