1v.univar.sh(1) Grass User's Manual v.univar.sh(1)
2
3
4
6 v.univar.sh - Calculates univariate statistics on selected table col‐
7 umn for a GRASS vector map.
8
10 vector, statistics
11
13 v.univar.sh
14 v.univar.sh help
15 v.univar.sh [-e] table=string column=string [database=string]
16 [driver=string] [where=string] [--verbose] [--quiet]
17
18 Flags:
19 -e
20 Extended statistics (quartiles and 90th percentile)
21
22 --verbose
23 Verbose module output
24
25 --quiet
26 Quiet module output
27
28 Parameters:
29 table=string
30 Name of data table
31
32 column=string
33 Column on which to calculate statistics (must be numeric)
34
35 database=string
36 Database/directory for table
37
38 driver=string
39 Database driver
40
41 where=string
42 WHERE conditions of SQL statement without 'where' keyword
43
45 v.univar.sh - Calculates basic univariate statistics for numeric
46 attributes in a data table. It will calculate minimum, maximum, range,
47 mean, standard deviation, variance, coefficient of variation, quar‐
48 tiles, median, and 90th percentile. It is closely based on r.univar.sh
49 and uses db.select to create a list values for statistical calcula‐
50 tions. This script could be replaced by an updated v.univar.
51 (GRASS Shell Script)
52
54 Unless the database and driver are specified, it default the values set
55 in db.connect.
56
58
59 g.region rast=elevation.10m -p
60 v.random out=samples n=100
61 v.db.addtable samples col="heights double precision"
62 v.what.rast samples rast=elevation.10m col=heights
63 v.db.select samples
64 v.univar.sh samples col=heights
65
66
68 r.univar, r.univar.sh, v.univar,, db.select, d.vect.thematic
69
70 AUTHORS v.univar.sh: Michael Barton, Arizona State University
71
72 and authors of r.univar.sh
73
74 Last changed: $Date: 2006-04-28 22:05:58 +0200 (Fri, 28 Apr 2006) $
75
76 Full index
77
78 © 2003-2008 GRASS Development Team
79
80
81
82GRASS 6.3.0 v.univar.sh(1)