Displaying 3 results from an estimated 3 matches for "rolltolast".
2009 Mar 31
0
data.table is on CRAN (enhanced data.frame for time series joins and more)
...0501L, 20080502L, 20080505L, 20080506L, 20080507L, 20080508L)
DT[J("A",dts)] # 3 of the dates in dts match
exactly
DT[J("A",dts),roll=TRUE] # roll previous data forward i.e.
return the prevailing observation
DT[J("A",dts),rolltolast=TRUE] # roll all but last observation
forward
tables(mb=TRUE) # prints table names, number of rows, size in memory
Thanks to all those who have made suggestions and feedback so far. Further
comments and feedback on the package would be much appreciated.
Regards, Matthew
_______...
2009 Mar 31
0
data.table is on CRAN (enhanced data.frame for time series joins and more)
...0501L, 20080502L, 20080505L, 20080506L, 20080507L, 20080508L)
DT[J("A",dts)] # 3 of the dates in dts match
exactly
DT[J("A",dts),roll=TRUE] # roll previous data forward i.e.
return the prevailing observation
DT[J("A",dts),rolltolast=TRUE] # roll all but last observation
forward
tables(mb=TRUE) # prints table names, number of rows, size in memory
Thanks to all those who have made suggestions and feedback so far. Further
comments and feedback on the package would be much appreciated.
Regards, Matthew
_______...
2009 Apr 01
0
回复: R-help Digest, Vol 73, Issue 32
...0501L, 20080502L, 20080505L, 20080506L, 20080507L, 20080508L)
DT[J("A",dts)] # 3 of the dates in dts match
exactly
DT[J("A",dts),roll=TRUE] # roll previous data forward i.e.
return the prevailing observation
DT[J("A",dts),rolltolast=TRUE] # roll all but last observation
forward
tables(mb=TRUE) # prints table names, number of rows, size in memory
Thanks to all those who have made suggestions and feedback so far. Further
comments and feedback on the package would be much appreciated.
Regards, Matthew
________...