[R] macro function

mrzung mrzung46 at gmail.com
Tue Feb 28 18:10:23 CET 2012


I really appreciate to your attention.

I want to change the data form "A" into "B"


http://r.789695.n4.nabble.com/file/n4428807/1.png 


http://r.789695.n4.nabble.com/file/n4428807/2.png 


In fact, there are 1095 column in data "A". 
Specifically, variable "publish_day" is when some book in the same row is
published and 
"D-1", "D-2" means the term after the "publish day".
Of course, the cells in data mean productivity in the day.

What can be effecient way to do it?



--
View this message in context: http://r.789695.n4.nabble.com/macro-function-tp4427385p4428807.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list