Is it possible to add metainfo to each row within a data.table and also filter by such? And if so, how can I do it?
Let's say for simplicity that I have a data table with 2 columns, A and B, where B contains numeric data. I need to be able to mark (some, all, just one, etc.) rows as FIX
, do math operations, joins and so on, and later mark them as UNFIX
so that when performing such operations, results are not affected by the metainfo as might be the case if they were just another column instead of a hidden attribute.