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.
# S4 method for SpatRasterDataset
mergeTime(x, fun=mean, filename="", ...)
SpatRasterDataset
A function that reduces a vector to a single number, such as mean
or min
character. Output filename
list with named options for writing files as in writeRaster
SpatRaster