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

PR proposal: anyGreater() #167

Open
rorynolan opened this issue Jan 12, 2020 · 0 comments
Open

PR proposal: anyGreater() #167

rorynolan opened this issue Jan 12, 2020 · 0 comments

Comments

@rorynolan
Copy link

I like anyValue() and I'd like to add anyGreater(), anyLess(), anyGreaterOrEqual() etc plus all of the row and column variants. I often find myself doing any(x > 3) or something like that and these calculations are inefficient in base R because the whole of x > 3 gets calculated.
I can do this as a PR but I want to make sure you like the idea before going and doing it. If you like it, advice on how to name these functions would be appreciated.

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

No branches or pull requests

1 participant