<div dir="ltr">Speed is not too good and even behaviour is strange. <div>I really think this is anyway a very usefull feature and that data.table should implement it (so you would not need zoo)</div><div>na.locf might do fancy stuff you don't need</div>
<div><br></div><div>I implemented mine with Rcpp, truly it is just a for loop and that's it...</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/9 Eduard Antonyan <span dir="ltr"><<a href="mailto:eduard.antonyan@gmail.com" target="_blank">eduard.antonyan@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">What's unsatisfactory about the zoo function? Speed or smth else?</div><div class="gmail_extra"><br>
<br><div class="gmail_quote">On Wed, Oct 9, 2013 at 12:54 PM, statquant3 <span dir="ltr"><<a href="mailto:statquant@outlook.com" target="_blank">statquant@outlook.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Yes you can do it with a window join but that's clearly overshoot...<br>
Just a very simple function would do<br>
<br>
<br><span class="HOEnZb"><font color="#888888">
<br>
--<br>
View this message in context: <a href="http://r.789695.n4.nabble.com/What-about-this-FR-tp4677877p4677908.html" target="_blank">http://r.789695.n4.nabble.com/What-about-this-FR-tp4677877p4677908.html</a></font></span><div class="im">
<br>
<div><div>Sent from the datatable-help mailing list archive at Nabble.com.<br>
_______________________________________________<br>
datatable-help mailing list<br>
<a href="mailto:datatable-help@lists.r-forge.r-project.org" target="_blank">datatable-help@lists.r-forge.r-project.org</a><br>
<a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help" target="_blank">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help</a><br>
</div></div></div></blockquote></div><br></div>
</blockquote></div><br></div>