1r.stats.quantile(1)           Grass User's Manual          r.stats.quantile(1)
2
3
4

NAME

6       r.stats.quantile  - Compute category quantiles using two passes.
7

KEYWORDS

9       raster, statistics, percentile, quantile
10

SYNOPSIS

12       r.stats.quantile
13       r.stats.quantile --help
14       r.stats.quantile   [-rpt]   base=name  cover=name   [quantiles=integer]
15       [percentiles=float[,float,...]]          [bins=integer]           [out‐
16       put=name[,name,...]]    [file=name]    [separator=character]   [--over‐
17       write]  [--help]  [--verbose]  [--quiet]  [--ui]
18
19   Flags:
20       -r
21           Create reclass map with statistics as category labels
22
23       -p
24           Do not create output maps; just print statistics
25
26       -t
27           Print statistics in table format
28
29       --overwrite
30           Allow output files to overwrite existing files
31
32       --help
33           Print usage summary
34
35       --verbose
36           Verbose module output
37
38       --quiet
39           Quiet module output
40
41       --ui
42           Force launching GUI dialog
43
44   Parameters:
45       base=name [required]
46           Name of base raster map
47
48       cover=name [required]
49           Name of cover raster map
50
51       quantiles=integer
52           Number of quantiles
53
54       percentiles=float[,float,...]
55           List of percentiles
56           Default: 50
57
58       bins=integer
59           Number of bins to use
60           Default: 1000
61
62       output=name[,name,...]
63           Resultant raster map(s)
64
65       file=name
66           Name for output file (if omitted or "-" output to stdout)
67
68       separator=character
69           Field separator
70           Special characters: pipe, comma, space, tab, newline
71           Default: :
72

DESCRIPTION

74       r.stats.quantile is a tool  to  analyse  exploratory  statistics  of  a
75       floating-point  "cover  layer"  according  to  how  it  intersects with
76       objects in  a  "base  layer".  It  provides  quantile  calculations  as
77       selected "zonal statistics".
78

NOTES

80       r.stats.quantile  is intended to be a partial replacement for r.statis‐
81       tics, with support for floating-point cover maps. It provides  quantile
82       calculations, which are absent from r.stats.zonal.
83

EXAMPLE

85       In  this example, the raster polygon map zipcodes in the North Carolina
86       sample dataset is used to calculate quantile  raster  statistics  using
87       the elevation raster map:
88       g.region raster=zipcodes -p
89       # print quantiles
90       r.stats.quantile base=zipcodes cover=elevation quantiles=3 -p
91       27511:0:33.333333:134.717392
92       27511:1:66.666667:143.985723
93       27513:0:33.333333:140.669993
94       27513:1:66.666667:146.279449
95       27518:0:33.333333:115.140101
96       27518:1:66.666667:129.893723
97       [...]
98       # write out percentile raster maps
99       r.stats.quantile base=zipcodes cover=elevation percentiles=25,50,75 \
100         output=zipcodes_elev_q25,zipcodes_elev_q50,zipcodes_elev_q75
101

SEE ALSO

103        r.quantile, r.stats.zonal, r.statistics
104

AUTHOR

106       Glynn Clements
107       Markus Metz
108
109       Last changed: $Date: 2017-05-07 22:27:56 +0200 (Sun, 07 May 2017) $
110

SOURCE CODE

112       Available at: r.stats.quantile source code (history)
113
114       Main  index  | Raster index | Topics index | Keywords index | Graphical
115       index | Full index
116
117       © 2003-2019 GRASS Development Team, GRASS GIS 7.4.4 Reference Manual
118
119
120
121GRASS 7.4.4                                                r.stats.quantile(1)
Impressum