freq

0th

Percentile

Frequency table

Frequency table of the values of a RasterLayer.

Keywords
spatial, univar
Usage
freq(x, ...)
Arguments
x
A RasterLayer object
...
Additional arguments. See under Details
Value

  • A matrix

Methods

A full call as implemented here: freq(x, digits=0, progress, ...) the digits argument is used passed to round with progress a progress bar can be specied ('text', 'tcltk', or "windows")

See Also

count, crosstab and zonal

Aliases
  • freq
  • freq,RasterLayer-method
Examples
r <- raster(nrow=18, ncol=36)
r[] <- runif(ncell(r))
r <- r * r * r * 10
freq(r)
Documentation reproduced from package raster, version 1.0.0-1, License: GPL (>= 3)

Community examples

Looks like there are no examples yet.