Quantile classification

From GRASS-Wiki
Revision as of 19:27, 2 April 2013 by Neteler (talk | contribs) (new, based on ML comments (M. Lennert))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Q: How can I perform automated classification based on a defined number of classes?

A: You can use r.quantile for quantile classification:

Example:

r.quantile elevation quantiles=5 -r --quiet | r.recode elevation out=elev_quant5 rules=-