You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've just seen that forderv worked on vectors. It's awesome. I was thinking, would you be able to do a version of match that rolls non matching elements? like match(a, l, roll, rollends). That would allow, among other things, the very nice syntax
DT[, value_filled:= fill_na(value, along_with=date, roll , rollends), by=id]
http://stackoverflow.com/questions/26171958/fill-in-missing-values-by-group-in-data-table
IMO, the best syntax would be a function
fill_na
but it would require some work - I'm not even sure it's feasible.
An easier solution would be a function
setna
that works depending on the keys of DTThe text was updated successfully, but these errors were encountered: