Last chance! 50% off unlimited learning
Sale ends in
powered by
setdrop(x, ...)setdrop_(x, vars)
setdrop_(x, vars)
library(data.table) DT <- data.table( id = c(1,2), v1 = c(1,1), v2 = c(2,1) ) setdrop(DT, id)
Run the code above in your browser using DataLab