Description Usage Arguments Author(s) See Also Examples
View source: R/eventsExplorer.R
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.
1 2 3 |
Q, P |
|
..., type, xlab, xscale.components |
further arguments passed to |
Felix Andrews felix@nfrac.org
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## Not run:
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)
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.