powered by
dropdf(df, vars)
w <- x <- y <- z <- 1:10 df <- data.frame(w,x,y,z) ( newdf <- dropdf(df, c('x', 'y')) )
Run the code above in your browser using DataLab