eventsExplorer {hydromad}R Documentation

A graphical user interface for defining discrete events in time series

Description

A graphical user interface for defining discrete events in time series. The interface is based on playwith() from the playwith package, which depends on GTK+ being installed on your system.

Usage

eventsExplorer(Q, P = NULL,
               ..., type = list(P = "s", "l"), xlab = NULL,
               xscale.components = xscale.components.subticks)

Arguments

Q, P

zoo objects, single time series.

..., type, xlab, xscale.components

further arguments passed to xyplot.ts.

Author(s)

Felix Andrews felix@nfrac.org

See Also

eventseq, playwith, xyplot.ts

Examples

if (interactive() && require("playwith")) {

data(Queanbeyan)
## wet period
ts74 <- window(Queanbeyan, start = "1974-01-01", end = "1976-12-01")
## dry period
ts93 <- window(Queanbeyan, start = "1993-01-01", end = "1996-01-01")

## To zoom in to a time period: hold Shift and drag horizontally.

eventsExplorer(Q = ts74$Q, P = ts74$P)

#eventsExplorer(ts93$Q)

}
[Package hydromad version 0.9-18 Index]