DT[V2 %in% c("A","C")] Select all rows that have value A or C in column V2. Manipulating on Columns in j. > DT[,V2]. Return V2 as a vector.
確定! 回上一頁