[GRASS-SVN] r55688 - grass/trunk/raster/r.quantile
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Apr 10 08:51:51 PDT 2013
Author: neteler
Date: 2013-04-10 08:51:51 -0700 (Wed, 10 Apr 2013)
New Revision: 55688
Modified:
grass/trunk/raster/r.quantile/r.quantile.html
Log:
r.quantile: quantile classification example added
Modified: grass/trunk/raster/r.quantile/r.quantile.html
===================================================================
--- grass/trunk/raster/r.quantile/r.quantile.html 2013-04-10 14:56:53 UTC (rev 55687)
+++ grass/trunk/raster/r.quantile/r.quantile.html 2013-04-10 15:51:51 UTC (rev 55688)
@@ -1,17 +1,25 @@
<h2>DESCRIPTION</h2>
-<em>r.quantile</em> computes quantiles in a manner suitable for use with large amounts of data.
-It is using two passes.
+<em>r.quantile</em> computes quantiles in a manner suitable
+for use with large amounts of data. It is using two passes.
<h2>EXAMPLE</h2>
-Calculation of elevation quantiles:
+Calculation of elevation quantiles (printed to standard-out):
<div class="code"><pre>
-g.region rast=elevation.dem -p
-r.quantile input=elevation.dem percentiles=0.1,1,10,25,50,75,90,99,99.9
+g.region rast=elevation -p
+r.quantile input=elevation percentiles=0.1,1,10,25,50,75,90,99,99.9
</pre></div>
+The output of <em>r.quantile</em> can be used for quantile classification:
+
+<div class="code"><pre>
+g.region rast=elevation -p
+r.quantile elevation quantiles=5 -r --quiet | r.recode elevation \
+ out=elev_quant5 rules=-
+</pre></div>
+
<h2>SEE ALSO</h2>
<em>
@@ -22,4 +30,5 @@
<h2>AUTHOR</h2>
Glynn Clements
-<p><i>Last changed: $Date$</i>
+<p>
+<i>Last changed: $Date$</i>
More information about the grass-commit
mailing list