# NOT RUN {
file <- system.file("external/ndvi", package="rts")
ndvi <- rts(file) # read the ndvi time series from the specified file
endpoints(ndvi,"years")
endpoints(ndvi,"quarters")
# }
# NOT RUN {
# }
Run the code above in your browser using DataCamp Workspace