![]() |
![]()
| ![]() |
![]()
NAMEr.stats.quantile - Compute category quantiles using two passes. KEYWORDSraster, statistics, zonal statistics, percentile, quantile SYNOPSISr.stats.quantile
Flags:
Parameters:
DESCRIPTIONr.stats.quantile is a tool to analyse exploratory statistics of a floating-point "cover layer" according to how it intersects with objects in a "base layer". It provides quantile calculations as selected "zonal statistics". NOTESr.stats.quantile is intended to be a partial replacement for r.statistics, with support for floating-point cover maps. It provides quantile calculations, which are absent from r.stats.zonal. Quantiles are calculated following algorithm 7 from Hyndman and Fan (1996), which is also the default in R and numpy. EXAMPLEIn this example, the raster polygon map zipcodes in the North
Carolina sample dataset is used to calculate quantile raster statistics
using the elevation raster map:
g.region raster=zipcodes -p # print quantiles r.stats.quantile base=zipcodes cover=elevation quantiles=3 -p 27511:0:33.333333:134.717392 27511:1:66.666667:143.985723 27513:0:33.333333:140.669993 27513:1:66.666667:146.279449 27518:0:33.333333:115.140101 27518:1:66.666667:129.893723 [...] # write out percentile raster maps r.stats.quantile base=zipcodes cover=elevation percentiles=25,50,75 \ REFERENCES
SEE ALSOr.quantile, r.stats.zonal, r.statistics AUTHORSGlynn Clements
SOURCE CODEAvailable at: r.stats.quantile source code (history) Latest change: Tuesday Dec 17 20:17:20 2024 in commit: d962e90c026708a4815ea2b9f46c0e84c17de22d Main index | Raster index | Topics index | Keywords index | Graphical index | Full index © 2003-2025 GRASS Development Team, GRASS GIS 8.4.1 Reference Manual
|