We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
specific_intersections <- function(data, first.col, last.col, intersections, order_mat, aggregate, decrease, cut, mbar_color){ sets <- names(data[c(first.col:last.col)]) keep <- unique(unlist(intersections)) remove <- sets[which(!sets %in% keep)] remove <- which(names(data) %in% remove) data <- data[-remove]
when keep is equivalent to sets remove is set to integer(0) and data gets wiped out
keep
sets
integer(0)
Browse[2]> remove integer(0) Browse[2]> data[-remove] data frame with 0 columns and 14632 rows
The text was updated successfully, but these errors were encountered:
61ef710
Thanks for the find!
Sorry, something went wrong.
No branches or pull requests
when
keep
is equivalent tosets
remove is set tointeger(0)
and data gets wiped outThe text was updated successfully, but these errors were encountered: