| read.rts | R Documentation |
Read a raster time series object from a file.
read.rts(filename,...)
filename |
Filename (character) |
... |
see details |
This function reads a raster time series object which has been writen by write.rts. Instead of read.rts, the rts function can be used (usage: rts(filename)).
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., cls='RasterBrickTS')
RasterBrickTS
Babak Naimi
write.rts, rts
## 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.