The function plots the time series one under another.

Description

Time series are plotted one under another with the same scale of time.

Usage

1
2
PlotTS(TS, outfile = FALSE, Ystart, period, title = "NDVI time series",
    nb = NULL)

Arguments

TS

Time serie or matrix of time serie containing only NDVI data (can be a single time series or multiple).

outfile

file where to save the graph. If FALSE (value by default), plot are shown in R.

Ystart

start year of the time series.

period

number of observations per year (for vito: period=36, for gimms: period=24).

title

title of the graphs. By default, title="NDVI time series".

nb

number of time series to plot in the same graph.
By default, nb = NULL, it will be automatically chosen.

Author(s)

Romain Frelat and Bruno Gerard

See Also

TimeSeriesAnalysis,OverlayTS

Examples

1
2
3
4
5
6
#loading the data
data(SLPSAs_ts)

#PlotTS
PlotTS(SLPSAs_ts$ts, Ystart=SLPSAs_ts$Ystart, 
    period=SLPSAs_ts$period, nb=6)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.