Displaying 1 result from an estimated 1 matches for "dival".
Did you mean:
dial
2011 Sep 13
1
Deleting Rows based on Factor and Time Period
...s than or equal to the *first* stock in that column + 6. Repeat
the following sentence, but instead of *first* use second, third, etc. In
short, I do not want an equity that has dates within a week of one another
at any point in the data frame/list (depending on if you're looking at
alldat or divall). For example, for FCX.UN.Equity, I would only want the
row beginning with 2001-07-02 to remain, as well as the row starting with
2010-01-27. I cannot delete rows immediately because I need all rows in
order to determine which rows to delete.
diveq<-alldat$myeq
divall<-split(alldat,diveq)...