Learn R Programming

xts (version 0.14.1)

sample_matrix: Sample Data Matrix For xts Example and Unit Testing

Description

Simulated 180 observations on 4 variables.

Usage

data(sample_matrix)

Arguments

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

Run this code

data(sample_matrix)

Run the code above in your browser using DataLab