powered by
## S3 method for class 'RasterLayer': freq(x, digits=0, useNA='ifany', progress='', ...)
round
table
count
crosstab
zonal
r <- raster(nrow=18, ncol=36) r[] <- runif(ncell(r)) r <- r * r * r * 10 freq(r)
Run the code above in your browser using DataLab