How to select columns programmatically in a data.table?

前端 未结 2 823
醉酒成梦
醉酒成梦 2020-12-03 07:46

I have the following data.table (DT):

DT <- data.table(V1 = 1:3, V2 = 4:6, V3 = 7:9)

I would like to select a subset of the variables pr

2条回答
提交回复
热议问题