Description Usage Arguments Examples
This function aggregates geotrellis raster layer data
gt_RasterLayer
.
1 | gt_aggregate(x, ...)
|
x |
|
fact |
|
fun |
|
1 2 3 4 5 6 7 | ## Not run:
g <- gt_raster(raster::raster(matrix(runif(9), ncol=3),
crs=sp::CRS('+init=epsg:4326'),
xmn=0, xmx=3, ymn=2, ymx=10))
result <- gt_aggregate(g, fact=2, fun='mean')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.