1r.quantile(1)               GRASS GIS User's Manual              r.quantile(1)
2
3
4

NAME

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

KEYWORDS

9       raster, algebra, statistics, percentile, quantile
10

SYNOPSIS

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

DESCRIPTION

56       r.quantile  computes  quantiles in a manner suitable for use with large
57       amounts of data. It is using two passes.
58

EXAMPLE

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

SEE ALSO

69         r.mode,  r.quant,  r.recode,  r.series,  r.stats,   r.stats.quantile,
70       r.stats.zonal, r.statistics, r.univar, v.rast.stats
71

AUTHOR

73       Glynn Clements
74

SOURCE CODE

76       Available at: r.quantile source code (history)
77
78       Main  index  | Raster index | Topics index | Keywords index | Graphical
79       index | Full index
80
81       © 2003-2020 GRASS Development Team, GRASS GIS 7.8.5 Reference Manual
82
83
84
85GRASS 7.8.5                                                      r.quantile(1)
Impressum