Usage
## S3 method for class 'Raster,Raster':
crosstab(x, y, digits=0, long=FALSE, useNA=FALSE, progress='', ...)
## S3 method for class 'RasterStackBrick,missing':
crosstab(x, digits=0, long=FALSE, useNA=FALSE, progress='', ...)
Arguments
y
Raster* object if x
is a RasterLayer; Can be missing if x
is a RasterStack or RasterBrick
digits
integer. The number of digits for rounding the values before cross-tabulation
long
logical. If TRUE
the results are returned in 'long' format data.frame instead of a table
useNA
logical, indicting if the table should includes counts of NA
values
progress
character. "text", "window", or "" (the default, no progress bar), only for large files that cannot be processed in one step
...
additional arguments. none implemented