plotTimeSeries {VLTimeCausality} | R Documentation |
plotTimeSeries is a function for visualizing time series
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.
# Generate simulation data
TS <- SimpleSimulationVLtimeseries()
# Run the function
plotTimeSeries(Y=TS$Y,X=TS$X)