Description Usage Arguments Value Examples
spatAggregate
performs aggregation of raster based time series
(RasterBrick
or RasterStack
object, see:
Raster-class
) within certain spatial entity (polygon geometry)
applying over
from package sp
on all raster layers (time instances)
within a given time interval.
1 | spatAggregate(variable, spatialentity, tstart, tend, fn = "mean")
|
variable |
A |
spatialentity |
A |
tstart |
Start of the time interval during which to perform aggregation given as character values in the format "yyyy-mm-dd". |
tend |
End of the time interval during which to perform aggregation given as character values in the format "yyyy-mm-dd". |
fn |
Function to be used for aggregation. One of |
A data frame containing the aggregated vaules of each raster layer (time instance) within each spatial entity
1 | #
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.