PlotTS: The function plots the time series one under another.

Description Usage Arguments Author(s) See Also Examples

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)


Search within the ndvits package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.