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

Allow peak estimation across groups #66

Open
zkamvar opened this issue Sep 13, 2018 · 0 comments
Open

Allow peak estimation across groups #66

zkamvar opened this issue Sep 13, 2018 · 0 comments

Comments

@zkamvar
Copy link
Member

zkamvar commented Sep 13, 2018

Given that find_peak() can do so without pooling and bootstrapping considers groups, it's not much of a stretch to think that we can bootstrap across groups and find the peak. The only issue is that the current implementation would have to be changed in a non-trivial way to accommodate. We would need to pre-allocate a data frame (not a matrix) of dates (if the input is date), and then we can run a for loop to add the computed bootstraps in with df[i, ] <- as.list(find_peak(boostrap(x), pool = TRUE))

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