Displaying 1 result from an estimated 1 matches for "13645t10".
2010 Jun 09
3
Extracting Elements By Date
Dear R Gurus,
Thanks for any help in advance!
Date.frame: Returns.names
X id ticker date_ adjClose totret RankStk
258060 258060 13645T10 CP 2001-06-29 18.125 1877.758
My data frame is in the above format. I would like to filter by period, per
id (every 125 days) each consisting of 250 days, I.e. 1-250, 126-375, etc.
One important thing to note is that not all ID's have the same number of
dates.
x<-unique(Return...