Learn R Programming

PMmisc (version 0.1.2)

pl.2ts: Time series plot for two variables

Description

Plotting two time series in one plot, with title.

Usage

pl.2ts(ts1,ts2,title)

Arguments

ts1

:time series variable one

ts2

:time series variable two

title

:title for the plot

Examples

Run this code
# NOT RUN {
DAX <- EuStockMarkets[,1]
FTSE <- EuStockMarkets[,4]
pl.2ts(DAX,FTSE, "Times Series Plot of DAX and FTSE")
# }

Run the code above in your browser using DataLab