plot: Generic interface for ploting time series

plotR Documentation

Generic interface for ploting time series

Description

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

Usage

## 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

## Not run: 
# Access to external service
# Read one time series from the WTSS server
# plot one time series
wtss_service <- "https://brazildatacube.dpi.inpe.br/wtss/"
ts   <- Rwtss::time_series(
                wtss_service, 
                name = "MOD13Q1-6", 
                attributes = c("NDVI","EVI"), 
                longitude = -45.00, 
                latitude  = -12.00,
                start_date = "2000-02-18", 
                end_date = "2016-12-18",
                token = "YOUR-BDC-TOKEN")
plot(ts)

## End(Not run)

e-sensing/wtss documentation built on April 30, 2022, 6:38 a.m.