powered by
A convenience function for setdiff(names(data), -some_vector_of_names-).
setdiff(names(data), -some_vector_of_names-)
othernames(data, toremove)
The input data.frame.
data.frame
The names you want to exclude.
names
A character vector of the remaining names.
base::setdiff()
# NOT RUN { mydf <- data.frame(a = 1:2, b = 3:4, c = 5:6) splitstackshape:::othernames(mydf, "a") # }
Run the code above in your browser using DataLab