metrumresearchgroup / bbr

R interface for model and project management
https://metrumresearchgroup.github.io/bbr/
Other
23 stars 2 forks source link

Option to start bootstrap runs at final estimates from parent run #690

Closed kylebaron closed 3 months ago

kylebaron commented 4 months ago

Summary

seth127 commented 4 months ago

Thanks Kyle. This isn't exactly what you're describing, but I think this is essentially possible via the new inherit_param_estimates() function. Something like

boot_run <- parent mod %>%
    new_bootstrap_run() %>%
    inherit_param_estimates()

Note: As of the most recent 1.10.0.8003 dev tag, this doesn't work because we haven't added the necessary S3 dispatches. The plan is to fix that before release though. Some discussion of this exact issue is in this comment on #679.

barrettk commented 3 months ago

@seth127 can this be closed? Seems like we chose a path offline, but not sure if we want to leave the issue open for future consideration?

seth127 commented 3 months ago

Yes, we can close this. Users who want to do this can use the pattern in my comment above.