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

sample.data

Sample Data Matrix For xts Example and Unit Testing


Description

Simulated 180 observations on 4 variables.

Usage

data(sample_matrix)

Format

The format is:
 num [1:180, 1:4] 50.0 50.2 50.4 50.4 50.2 ...
 - attr(*, "dimnames")=List of 2
  ..$ : chr [1:180] "2007-01-02" "2007-01-03" "2007-01-04" "2007-01-05" ...
  ..$ : chr [1:4] "Open" "High" "Low" "Close"

Examples

data(.sample.matrix)

xts

eXtensible Time Series

v0.12.1
GPL (>= 2)
Authors
Jeffrey A. Ryan [aut, cph], Joshua M. Ulrich [cre, aut], Ross Bennett [ctb], Corwin Joy [ctb]
Initial release

We don't support your browser anymore

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