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

slide_median? #203

Open
nikostr opened this issue Apr 18, 2024 · 1 comment
Open

slide_median? #203

nikostr opened this issue Apr 18, 2024 · 1 comment
Labels
feature a feature request or enhancement

Comments

@nikostr
Copy link

nikostr commented Apr 18, 2024

Thanks for this excellent package! Using slide_mean is very fast, slide_dbl(x, median) is a lot slower. Would it be possible to implement a slide_median function?

@DavisVaughan
Copy link
Member

A rolling median is computationally much different from a rolling mean and doesn't fit particularly well with the fast implementation that backs slide_mean/all/any/etc. I looked into it awhile back when I was implementing those, and while it is possible, it would be a lot of work and I doubt I'll have time for that in the short to medium term

@DavisVaughan DavisVaughan added the feature a feature request or enhancement label Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants