merge SpatRasters by timelines to create a single timeseries
mergeTime.Rd
Combine SpatRasters with partly overlapping time-stamps to create a single time series. If there is no overlap between the SpatRasters there is no point in using this function (use c
instead).
Also note that time gaps are not filled. You can use fillTime
to do that.
Arguments
- x
SpatRasterDataset
- fun
A function that reduces a vector to a single number, such as
mean
ormin
- filename
character. Output filename
- ...
list with named options for writing files as in
writeRaster