Skip to content
New issue

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

better ggsubset #1

Closed
teunbrand opened this issue Apr 21, 2019 · 1 comment
Closed

better ggsubset #1

teunbrand opened this issue Apr 21, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@teunbrand
Copy link
Owner

ggsubset <- function(rowtest = NULL, omit = NULL) {
rowtest <- substitute(rowtest)
if (is.null(rowtest)) {
rowtest <- substitute(TRUE)
}
omit <- substitute(omit)
if (is.null(omit)) {
omit <- substitute(TRUE)
}
function(x) subset.data.frame(x, eval(rowtest), -eval(omit))
}

@teunbrand teunbrand self-assigned this Apr 21, 2019
@teunbrand teunbrand added the enhancement New feature or request label Apr 21, 2019
@teunbrand
Copy link
Owner Author

Added and scheduled for next push.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant