
[英]Issue in filtering rows for a range based on conditions from two columns in a data table in R
我在 R 中有以下 data.table (DT)。我想通过“年”和“FIPS_代码”从“attrib_wk”列中过滤“st_wk”和“end_wk”范围内的行。 但是,我无法使用上面的代码获得下面显示的 output。 有人可以纠正我以获得所有年份和 FIPS 代码所需的 output 吗? 谢谢 ...