Description Usage Arguments Value Examples
View source: R/plotTimeSeries.R
plotTimeSeries is a function for visualizing time series
1 | plotTimeSeries(X, Y, strTitle = "Time Series Plot", TSnames)
|
X |
is a 1st numerical time series |
Y |
is a 2nd numerical time series. If it is not supplied, the function plots only |
strTitle |
is a string of the plot title |
TSnames |
is a list of legend of |
This function returns an object of ggplot class.
1 2 3 4 | # Generate simulation data
TS <- SimpleSimulationVLtimeseries()
# Run the function
plotTimeSeries(Y=TS$Y,X=TS$X)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.