Answers for "r remove column by index"

0

how to drop a column in r

keeps <- c("y", "a")
DF[keeps]
Posted by: Guest on May-15-2021
0

r remove column by index

DT[, coltodelete := NULL]
Posted by: Guest on May-15-2021

Browse Popular Code Answers by Language