data.table columns if theredata.table columns if theresetcolsnull(DT = NULL, delete = NULL, keep = NULL, colorder = FALSE,
soft = TRUE)data.tablekeep overrides deleteTRUE, also does setcolorder using
keepTRUE, does not cause an error if any variable
name in keep or delete is missing; soft = FALSE useful
for programming sometimes