Description Usage Arguments Examples
Plotting two time series in one plot, with title and label. If both variables are time series object, they will be merged by time. If both variables are not time series object, they will be merged by order. The first variable is set to be a solid line and the second variable is set to be a dashed line. If the variables are of different type a warning message will be given.
1 |
ts1 |
:a time series variable or a numeric variable |
ts2 |
:a time series variable or a numeric variable |
title |
:title for the plot |
ylab |
:y-axis label |
1 2 3 | DAX <- EuStockMarkets[,1]
FTSE <- EuStockMarkets[,4]
pl.2tsgg(DAX,FTSE, "Times Series Plot of DAX and FTSE", "Index")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.