search for: diveq

Displaying 1 result from an estimated 1 matches for "diveq".

Did you mean: dive
2011 Sep 13
1
Deleting Rows based on Factor and Time Period
...epending 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) I try to pick out those rows that I want to delete by using a double loop (inefficient and awful, I know). For better or for worse, the double loop does not work. I get integer(0) for all elements of workin. I put the second condition in the which...