It can be easily done by adding ! sign (implies negation in R). dat5 = mydata[, !c("origin"), with=FALSE]. Dropping Multiple Columns.
確定! 回上一頁