Read a raster time series object from a file.
This function reads a raster time series object which has been writen by
write.rts. Instead of
rts function can be used (usage:
By default, the Raster Time Series is read as the class of
SpatRasterTS, but the user can provide
cls argument to specify a different rts class (e.g.,
## Not run: file <- system.file("external/ndvi", package="rts") rt <- read.rts(file) rt # or alternatively: rt <- rts(file) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.