As highlighted here : http://stackoverflow.com/questions/24647784/how-to-replace-first-n1-and-last-n2-rows-with-na-in-specific-columns
Activity
arunsrinivasan commentedon Jul 11, 2014
Great addition! Maybe this should be mentioned in
?data.table?