[datatable-help] Sistematically construction of 2 variables in data table

Frank S. f_j_rod at hotmail.com
Mon Oct 27 14:06:33 CET 2014


Hi all,  I have been able to solve (I think) the second question: newdt[, init := c( round(difftime(start[1], bday[1])/365.25,1) , 
 round(difftime(dsum[1:(.N-1)],bday[1:(.N-1)])/365.25,1) )][] #  [] is to print the result    		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/datatable-help/attachments/20141027/2810584e/attachment.html>


More information about the datatable-help mailing list