rm_NAret: Find the start of the data or filter stocks that start after...

Description Usage Arguments Examples

Description

This function finds the minimum date for which all stocks in a df have return data and removes all dates prior to that date. When a start date is specified, all stocks for which the data starts after that date are removed.

Usage

1
rm_NAret(df, start_dt = NA)

Arguments

df

the dataframe of stock prices to be manipulated

start_dt

character yyyy-mm-dd

Examples

1
rm_NAret(IYE.df, start_dt = "2012-01-01")

SmarshMELLOW/financeSMM documentation built on May 16, 2019, 6:41 p.m.