Select column of data.table and return vector

前端 未结 2 403
一整个雨季
一整个雨季 2021-01-24 19:38

Is it possible to select a column of a data.table and get back a vector? In base R, the argument drop=TRUE would do the trick. For example,

library(         


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