bcgov / ssdtools

An R package to fit and plot Species Sensitivity Distributions (SSDs)
https://bcgov.github.io/ssdtools/
Apache License 2.0
31 stars 17 forks source link

Update `ssd_hc()` and `ssd_hp()` so that indicates method and parametric vs non-parametric #364

Open joethorley opened 7 months ago

joethorley commented 7 months ago

ie

# A tibble: 1 × 11
  dist    proportion   est    se   lcl   ucl    wt method     nboot pboot samples  
  <chr>        <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <chr>      <dbl> <dbl> <I<list>>
1 average       0.05  1.26 0.818 0.397  3.41     1 parametric  1000 0.999 <dbl [0]>

to

# A tibble: 1 × 11
  dist    proportion   est    se   lcl   ucl    wt method   parametric  nboot pboot samples  
  <chr>        <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <chr>      <dbl> <dbl> <I<list>>
1 average       0.05  1.26 0.818 0.397  3.41     1 weighted_samples TRUE  1000 0.999 <dbl [0]>