Description Usage Format Source Examples
NDVI time series extracted from Spot Vegetation data.
The sites of interest are the South Asian study sites of CGIAR
Systemwide Livestock Programme.
A kml file containing the location of the sites can be found at the following path :
print(system.file("extdata/shape/SLP-SAs.kml",package="ndvits"))
1 |
SLPSAs_ts is a list containing the 3 following objects :
ts : data frame containing the ndvi time series, one row per time series.
rownames(ts)
contains the name of the site and colnames(ts)
contains the time.
period indicates the number of observations per year (period = 36).
Ystart indicates the starting year of the analysis (Ystart = 1999).
Spot Vegetation data comes from : http://free.vgt.vito.be/
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | data(SLPSAs_ts)
PlotTS(SLPSAs_ts$ts, Ystart=SLPSAs_ts$Ystart,
period=SLPSAs_ts$period, nb=6)
OverlayTS(SLPSAs_ts$ts, Ystart=SLPSAs_ts$Ystart,
period=SLPSAs_ts$period)
outfile = "SLPSAs-Metrics.txt"
outgraph = "SLPSAs-Metrics.pdf"
metrics = AnPhenoMetrics(SLPSAs_ts$ts, outfile, outgraph,
Ystart=SLPSAs_ts$Ystart, period=SLPSAs_ts$period)
#Be carefull, BFAST Decomposition takes a long time
#BfastDec(SLPSAs_ts$ts, Ystart=SLPSAs_ts$Ystart,
# period=SLPSAs_ts$period)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.