Which of the following code drop the ith and jth column?
(a) new <- old[-n,]
(b) new <- old[,-n]
(c) new <- old[,-c(i,j)]
(d) new <- subset(old,logical)
The question was asked by my college professor while I was bunking the class.
The origin of the question is Commands in chapter Commands, Packages, Visualizing Data and Linear Regression of R Programming