1v.db.univar(1) Grass User's Manual v.db.univar(1)
2
3
4
6 v.db.univar - Calculates univariate statistics on selected table col‐
7 umn for a GRASS vector map.
8
10 vector, statistics
11
13 v.db.univar
14 v.db.univar help
15 v.db.univar [-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.db.univar - 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 uses db.select to create list
49 values for statistical calculations. (GRASS Shell Script)
50
52 Unless the database and driver are specified, it default the values set
53 in db.connect.
54
56
57 g.region rast=elevation.10m -p
58 v.random out=samples n=100
59 v.db.addtable samples col="heights double precision"
60 v.what.rast samples rast=elevation.10m col=heights
61 v.db.select samples
62 v.db.univar samples col=heights
63
64
66 r.univar, v.univar,, db.select, d.vect.thematic
67
69 Michael Barton, Arizona State University
70
71 and authors of r.univar.sh
72
73 Last changed: $Date: 2007-06-23 22:41:37 +0200 (Sat, 23 Jun 2007) $
74
75 Full index
76
77 © 2003-2008 GRASS Development Team
78
79
80
81GRASS 6.3.0 v.db.univar(1)