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

Mean and other aggregation functions #18

Open
noamross opened this issue Mar 22, 2018 · 0 comments
Open

Mean and other aggregation functions #18

noamross opened this issue Mar 22, 2018 · 0 comments

Comments

@noamross
Copy link
Collaborator

Basically, a different version of "sum", per #13, we just need to be clear what happens with NAs.

We can also do running variance: https://www.johndcook.com/blog/standard_deviation/

It would not be that hard to pass R functions to fasterize for arbitrary aggregation functions, but it would also definitely be a huge slowdown. For any function that needs the entire vector of values, its probably better to first collect the values and then run calc.

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

No branches or pull requests

1 participant