[GRASS-SVN] r68450 - grass/branches/releasebranch_7_0/scripts/v.db.univar
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue May 17 07:10:47 PDT 2016
Author: neteler
Date: 2016-05-17 07:10:47 -0700 (Tue, 17 May 2016)
New Revision: 68450
Modified:
grass/branches/releasebranch_7_0/scripts/v.db.univar/v.db.univar.html
Log:
v.db.univar manual: example added
Modified: grass/branches/releasebranch_7_0/scripts/v.db.univar/v.db.univar.html
===================================================================
--- grass/branches/releasebranch_7_0/scripts/v.db.univar/v.db.univar.html 2016-05-17 14:09:46 UTC (rev 68449)
+++ grass/branches/releasebranch_7_0/scripts/v.db.univar/v.db.univar.html 2016-05-17 14:10:47 UTC (rev 68450)
@@ -10,8 +10,30 @@
A database connection must be defined for the selected vector layer.
-<h2>EXAMPLE</h2>
+<h2>EXAMPLES</h2>
+<h3>Univariate statistics on attribute table column</h3>
+
+In this example, the 30 years precipitation data table is statistically
+analysed (North Carolina sample dataset) and univariate statistics performed:
+
+<div class="code"><pre>
+# show columns of attribute table connected to precipitation map
+v.info -c precip_30ynormals
+
+# univariate statistics on 30 years annual precipitation in NC
+v.db.univar precip_30ynormals column=annual
+ Number of values: 136
+ Minimum: 947.42
+ Maximum: 2329.18
+ Range: 1381.76
+ Mean: 1289.31147058823
+ [...]
+</pre></div>
+
+
+<h3>Univariate statistics on randomly sampled data points</h3>
+
In this example, random points are sampled from the elevation map
(North Carolina sample dataset) and univariate statistics performed:
<div class="code"><pre>
@@ -36,6 +58,6 @@
<h2>AUTHOR</h2>
Michael Barton, Arizona State University
-<p>and authors of <em>r.univar.sh</em>
+<p>and authors of <em>r.univar.sh</em> (Markus Neteler et al.)
<p><i>Last changed: $Date$</i>
More information about the grass-commit
mailing list