search for: ranking1

Displaying 2 results from an estimated 2 matches for "ranking1".

Did you mean: ranking
2006 Mar 07
2
(newbie) Accessing the pieces of a 'by' object
...t eventually I will become a better R programmer. I have a dataframe that has some values by Year, Quarter and Ranking. The variable of interest is the return (F3MRet), to be weighted averaged within the year, quarter and ranking. At the end, we want to end up with a table like this: year quarter ranking1 ranking2 ... ranking10 1987 1 1.33 1.45 ... 1.99 1987 2 6.45 3.22 ... 8.33 . . 2005 4 2.22 3.33 ... 1.22 The dataset is too large to post and I can't come up with a small working example very easily. I tried the Reshape() package and also the aggregate and reshape functions. Those don't w...
2006 Mar 08
0
survival
...t eventually I will become a better R programmer. I have a dataframe that has some values by Year, Quarter and Ranking. The variable of interest is the return (F3MRet), to be weighted averaged within the year, quarter and ranking. At the end, we want to end up with a table like this: year quarter ranking1 ranking2 ... ranking10 1987 1 1.33 1.45 ... 1.99 1987 2 6.45 3.22 ... 8.33 . . 2005 4 2.22 3.33 ... 1.22 The dataset is too large to post and I can't come up with a small working example very easily. I tried the Reshape() package and also the aggregate and reshape functions. Those don't w...