1r.quantile(1) Grass User's Manual r.quantile(1)
2
3
4
6 r.quantile - Compute quantiles using two passes.
7
9 raster, algebra, statistics, percentile, quantile
10
12 r.quantile
13 r.quantile --help
14 r.quantile [-r] input=name [quantiles=integer] [per‐
15 centiles=float[,float,...]] [bins=integer] [file=name] [--over‐
16 write] [--help] [--verbose] [--quiet] [--ui]
17
18 Flags:
19 -r
20 Generate recode rules based on quantile-defined intervals
21
22 --overwrite
23 Allow output files to overwrite existing files
24
25 --help
26 Print usage summary
27
28 --verbose
29 Verbose module output
30
31 --quiet
32 Quiet module output
33
34 --ui
35 Force launching GUI dialog
36
37 Parameters:
38 input=name [required]
39 Name of input raster map
40
41 quantiles=integer
42 Number of quantiles
43 Default: 4
44
45 percentiles=float[,float,...]
46 List of percentiles
47
48 bins=integer
49 Number of bins to use
50 Default: 1000000
51
52 file=name
53 Name for output file (if omitted or "-" output to stdout)
54
56 r.quantile computes quantiles in a manner suitable for use with large
57 amounts of data. It is using two passes.
58
60 Calculation of elevation quantiles (printed to standard-out):
61 g.region raster=elevation -p
62 r.quantile input=elevation percentiles=0.1,1,10,25,50,75,90,99,99.9
63 The output of r.quantile can be used for quantile classification:
64 g.region raster=elevation -p
65 r.quantile elevation quantiles=5 -r --quiet | r.recode elevation \
66 out=elev_quant5 rules=-
67
69 r.mode, r.quant, r.series, r.stats, r.stats.quantile, r.stats.zonal,
70 r.statistics, r.univar, v.rast.stats
71
73 Glynn Clements
74
75 Last changed: $Date: 2018-10-16 11:41:38 +0200 (Tue, 16 Oct 2018) $
76
78 Available at: r.quantile source code (history)
79
80 Main index | Raster index | Topics index | Keywords index | Graphical
81 index | Full index
82
83 © 2003-2019 GRASS Development Team, GRASS GIS 7.6.0 Reference Manual
84
85
86
87GRASS 7.6.0 r.quantile(1)