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
Hi,
I am still new to this great package. So sorry, if this has been answered or addressed before.
I have the following problem:
Let's say, I have a data.table, e.g.
To clarify: dt[maskMatrix] <- NA works
However, I read somewhere that you should rather use the := notation to do the replacements in place. I am curious for such a solution.
Hi,
I am still new to this great package. So sorry, if this has been answered or addressed before.
I have the following problem:
Let's say, I have a data.table, e.g.
now, I would like to replace values at specific indices, given in a separate, logical-valued matrix of equal dimension by NA.
using data.frames I used to be able to do this:
What would be a correct and efficient way to do this with data.table objects?
Thanks for your help!
Best,
demuellae
The text was updated successfully, but these errors were encountered: