I have a data.table with 83 columns called growthcheck.
The vector flag4issues contains a subset of 21 column names of growthcheck. flag4issues is a character vector.
test is another vector having dimension 3 by 21. I'm debugging a code where the line
growthcheck[1:3, flag4issues] <- test
throws an error.
I tried with tranforming test to data.table, do a loop, but nothing works. Any idea?
dput(growthcheck[1:5,flag4issues]), test and flag4issues can be retrieved here