Learn R Programming

rfinance (version 0.1.0)

adjust_for_splits: Adjust For Splits

Description

This function adjusts prices or dividends by past company splits

Usage

adjust_for_splits(df, symbol)

Arguments

df

data.frame containing the prices/dividends to be adjusted

symbol

Ticker of the subject company