Hi, I am new to this, can anyone help.
I am working with matrices, with stocknames as colNames and dates as rowNames. The data coontains percentile ranking for the stocks. Date IBM MSFT 20061122 12 4 20061115 12 4 20061108 12 4 20061101 12 4 20061025 12 4 20061018 12 4 20061011 11 3 20061004 12 3 20060927 10 3 I would like to calculate the rolling-rate-of-change of these ranking. I tried searching for second-derivative/slope/trend/etc to no avail. thanks in advance. [[alternative HTML version deleted]] ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.