Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

data-examples

Time Series Data Sets


Description

Three data sets used in example files.

The data sets are:

LPP2005REC Swiss pension fund assets returns benchmark,
MSFT Daily Microsoft OHLC prices and volume,
USDCHF USD CHF intraday foreign exchange xchange rates.

Examples

## Plot LPP2005 Example Data Set -  
   data(LPP2005REC)
   plot(LPP2005REC, type = "l")
   
## Plot MSFT Example Data Set - 
   data(MSFT)
   plot(MSFT[, 1:4], type = "l")
   plot(MSFT[, 5], type = "h")
   
## Plot USDCHF Example Data Set - 
   # plot(USDCHF)

timeSeries

Financial Time Series Objects (Rmetrics)

v3062.100
GPL (>= 2)
Authors
Diethelm Wuertz [aut] (original code), Tobias Setz [cre], Yohan Chalabi [ctb], Martin Maechler [ctb] (<https://orcid.org/0000-0002-8685-9910>)
Initial release
2020-01-24

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.