Learn R Programming

dtwSat (version 0.2.8)

plotPatterns: Plotting temporal patterns

Description

Method for plotting the temporal patterns.

Usage

plotPatterns(x, labels = NULL, attr, year = 2005)

Value

A ggplot object.

Arguments

x

An object of class twdtwTimeSeries, zoo, or list of zoo.

labels

A vector with labels of the time series. If not declared the function will plot all time series.

attr

An integer vector or character vector indicating the attribute for plotting. If not declared the function will plot all attributes.

year

An integer. The base year to shift the dates of the time series to. If NULL then the time series is not shifted. Default is 2005.

Author

Victor Maus, vwmaus1@gmail.com

References

Maus:2019dtwSat

Maus:2016dtwSat

See Also

twdtwTimeSeries-class and plotTimeSeries

Examples

Run this code
patt = twdtwTimeSeries(MOD13Q1.patterns.list)
plotPatterns(patt)
plotPatterns(patt, attr="evi")

Run the code above in your browser using DataLab