Learn R Programming

TTR (version 0.2)

adjRatios: Split and dividend adjustment ratios

Description

Create split and dividend adjustment ratio vectors.

Usage

adjRatios(splits, dividends, close)

Arguments

splits
Split series that is coercible to xts.
dividends
Dividend series that is coercible to xts.
close
Close price series that is coercible to xts.

Value

  • A xts object containing the columns: [object Object],[object Object]

Details

  • If onlysplitsis provided, the resulting object will only have as many observations assplits.
  • Ifsplitsandcloseare provided, the resulting object will have as many observations asmax(NROW(splits), NROW(close)).
  • closeis required ifdividendsis provided.