1v.univar(1)                   Grass User's Manual                  v.univar(1)
2
3
4

NAME

6       v.univar   -  Calculates  univariate statistics for attribute. Variance
7       and standard deviation is calculated only for points if specified.
8

KEYWORDS

10       vector, statistics
11

SYNOPSIS

13       v.univar
14       v.univar help
15       v.univar  [-ge]  map=name   [type=string[,string,...]]    column=string
16       [where=sql_query]    [layer=integer]    [percentile=integer]    [--ver‐
17       bose]  [--quiet]
18
19   Flags:
20       -g
21           Print the stats in shell script style
22
23       -e
24           Calculate extended statistics
25
26       --verbose
27           Verbose module output
28
29       --quiet
30           Quiet module output
31
32   Parameters:
33       map=name
34           Name of input vector map
35
36       type=string[,string,...]
37           Type
38           Feature type(s)
39           Options: point,line,boundary,centroid,area
40           Default: point,line,boundary,centroid,area
41
42       column=string
43           Column name
44
45       where=sql_query
46           WHERE conditions of SQL statement without 'where' keyword
47           Example: income = 10000
48
49       layer=integer
50           Layer number
51           A single vector map can be connected to multiple  database  tables.
52           This number determines which table to use.
53           Default: 1
54
55       percentile=integer
56           Percentile to calculate (requires extended statistics flag)
57           Options: 0-100
58           Default: 90
59

DESCRIPTION

61       v.univar calculates univariate statistics of vector map features.  This
62       includes the number of features counted, minimum  and  maximum  values,
63       and  range.   Variance  and  standard  deviation is calculated only for
64       points if type=point is defined.
65
66       Extended statistics adds median, 1st and 3rd quartiles, and  90th  per‐
67       centile.
68

EXAMPLE

70
71       g.region rast=elevation.10m -p
72       v.random out=samples n=100
73       v.db.addtable samples col="heights double precision"
74       v.what.rast samples rast=elevation.10m col=heights
75       v.db.select samples
76       v.univar samples col=heights type=point
77
78

SEE ALSO

80       v.neighbors
81

AUTHOR

83       Radim Blazek, ITC-irst
84
85       Last changed: $Date: 2007-02-15 15:27:17 +0100 (Thu, 15 Feb 2007) $
86
87       Full index
88
89       © 2003-2008 GRASS Development Team
90
91
92
93GRASS 6.3.0                                                        v.univar(1)
Impressum