Description Usage Arguments Author(s) Examples
View source: R/visualisation.R
Convenience function for plotting time series.
1 2 |
timestamp |
POSIXct timestamps. |
series |
The time series. |
start.time |
Plot from this time onward. |
end.time |
Plot up until this time. |
title |
Plot title. |
y.label |
Y axis label of the plot. |
phil
1 2 3 4 5 6 7 8 | # plot trades.
with(lob.data$trades, plotTimeSeries(timestamp, price))
# plot a general time series.
timestamp <- seq(as.POSIXct("2015-05-01 00:00:00.000", tz="UTC"),
as.POSIXct("2015-05-01 00:59:00.000", tz="UTC"), by=60)
series <- rep(1:10, 6)
plotTimeSeries(timestamp, series)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.