View source: R/splitstackshape_helper_functions.R
| othernames | R Documentation |
A convenience function for setdiff(names(data), -some_vector_of_names-).
othernames(data, toremove)
data |
The input |
toremove |
The |
A character vector of the remaining names.
Ananda Mahto
base::setdiff()
mydf <- data.frame(a = 1:2, b = 3:4, c = 5:6)
splitstackshape:::othernames(mydf, "a")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.