Learn R Programming

riskR (version 1.1)

returns: Real market data for examples

Description

Daily log-returns for Standard and Poor's 500 (SP500), Apple (AAPL), Bank of America (BAC), The DOW Chemical Company (DOW), Sun Edison (SUNE).

Usage

data("returns")

Arguments

Format

A data frame with 503 observations on the following 6 variables.
Date
a vector of dates
SP500
a numeric vector
AAPL
a numeric vector
BAC
a numeric vector
DOW
a numeric vector
SUNE
a numeric vector

Examples

Run this code
data(returns)
head(returns)

Run the code above in your browser using DataLab