Description Usage Arguments Author(s) Examples
Plot multiple time series with different data ranges.
1 2 |
tsL |
list of object(s) of class |
ylimL |
list of objects(s) of y limits (x1, x2) for tsL. The default value is NULL, indicating that the ylim are set to the min and max value of ts1 |
labL |
list of objects(s) of title for tsL |
colL |
list of objects(s) of colour for tsL |
xlim |
range of x-axis value; default is the range of the time series |
pointsL |
list of TRUE and FLASE. (default = NULL = points are plotted for all time series) |
title |
plot title |
Johannes Reiche (Wageningen University)
1 2 3 4 5 6 7 8 9 10 | # load example ts data (Sentinel-1 and Landsat NDVI time series; 09/2014 - 05/2016; Deforestation event in early 2016)
data(s1vv_lndvi_pixel)
# create ts using bfastts (bfast package)
tsS <- bfastts(s1vv_obs,as.Date(s1vv_date),type=c("irregular"))
tsL <- bfastts(lndvi_obs,as.Date(lndvi_date),type=c("irregular"))
# plot ts
plotts(tsL=list(tsL,tsS),labL=list("Landsat NDVI","Sentinel-1 VV [dB]"))
plotts(tsL=list(tsL,tsS),labL=list("Landsat NDVI","Sentinel-1 VV [dB]"),ylimL=list(c(0,1),c(-13,-6)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.