poissonconsulting / ssdtools

An R package to fit and plot species sensitivity distributions.
http://poissonconsulting.github.io/ssdtools/
Apache License 2.0
0 stars 2 forks source link

Keeping of boostrap samples and geometric weighted mean averaging #7

Closed beckyfisher closed 7 months ago

beckyfisher commented 8 months ago

In this pull request an argument "keep_samples" was added to control if bootstrap samples should be kept. The default is FALSE. If keep_samples = TRUE, the bootstrap samples are returned as a list column in the resulting hc tibble.

In addition, an option for geometric weighted mean averaging as also been added, in addition to the original arithmetic mean. This can be called via the argument averaging_method = "geometric".

Note that this branch is currently failing some tests that I have not yet had time to resolve.