plot: Generic interface for ploting time series

Description Usage Arguments Value Author(s) Examples

Description

Given a tibble with a set of time series, plot them.

Usage

1
2
## S3 method for class 'wtss'
plot(x, y, ..., colors = "Dark2")

Arguments

x

object of class "wtss"

y

ignored

...

further specifications for plot.

colors

Color pallete to be used (based on Color Brewer - default is "Dark2").

Value

Input tibble (useful for chaining functions).

Author(s)

Gilberto Camara, gilberto.camara@inpe.br

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
{
# Read one time series from the WTSS server
# plot one time series
wtss <- wtss::WTSS("http://www.esensing.dpi.inpe.br/wtss/")
ts   <- wtss::time_series(wtss, name = "MOD13Q1", 
                attributes = c("ndvi","evi"), 
                longitude = -45.00, latitude  = -12.00,
                start_date = "2000-02-18", end_date = "2016-12-18")
plot(ts)
}

wtss documentation built on Jan. 11, 2020, 9:27 a.m.