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]
17
18 Flags:
19 -e Extended statistics (quartiles and 90th percentile)
20
21 Parameters:
22 table=string
23 Name of data table
24
25 column=string
26 Column on which to calculate statistics (must be numeric)
27
28 database=string
29 Database/directory for table
30
31 driver=string
32 Database driver
33
34 where=string
35 WHERE conditions of SQL statement without 'where' keyword
36
38 v.univar.sh - Calculates basic univariate statistics for numeric
39 attributes in a data table. It will calculate minimum, maximum, range,
40 mean, standard deviation, variance, coefficient of variation, quar‐
41 tiles, median, and 90th percentile. It is closely based on r.univar.sh
42 and uses db.select to create a list values for statistical calcula‐
43 tions. This script could be replaced by an updated v.univar.
44 (GRASS Shell Script)
45
47 Unless the database and driver are specified, it default the values set
48 in db.connect.
49
51
52 g.region rast=elevation.10m -p
53 v.random out=samples n=100
54 v.db.addtable samples col="heights double precision"
55 v.what.rast samples rast=elevation.10m col=heights
56 v.db.select samples
57 v.univar.sh samples col=heights
58
59
61 r.univar, r.univar.sh, v.univar,, db.select, d.vect.thematic
62
63 AUTHORS v.univar.sh: Michael Barton, Arizona State University
64
65 and authors of r.univar.sh
66
67 Last changed: $Date: 2006/04/28 20:05:58 $
68
69 Full index
70
71
72
73GRASS 6.2.2 v.univar.sh(1)