Species Sensitivity Distributions
Overview
Species sensitivity distributions are cumulative probability distributions which are fitted to toxicity concentrations for different species as described by Posthuma et al. (2001) <isbn:9781566705783>. The ssdtools package uses Maximum Likelihood to fit distributions such as the gamma, log-logistic, log-normal and log-normal log-normal mixture. Multiple distributions can be averaged using Akaike Information Criteria. Confidence intervals on hazard concentrations and proportions are produced by bootstrapping.
Bug Fixes
- AICc is now
Inf(as undefined) when the number of observations is less than or equal to the number of parameters. Previously it was onlyInfwhen equal to the number of parameters plus 1 (poissonconsulting/ssdtools#175). - Fixed distribution function lookup to the ssdtools namespace only so that attached packages exporting
m*helpers (notably actuar) no longer breakssd_fit_dists()(#479). - Fixed starting values for weighted fits, which previously used the logical
weightflag in place of the weight vector. - Removed a duplicate
ssd_elgumbel()definition. - Fixed the function names in two
ssd_hp()deprecation messages. ssd_hc()andssd_hp()now return one row per input value when values are duplicated (poissonconsulting/ssdtools#141).ssd_label_comma_hc()now marks the hazard concentration whenbig.markordecimal.markchange the formatting of the label (#482).
Additions
- Added
ssd_element_text_hc(), a theme element that draws multi-line axis labels in bold, which replacesggtext::element_markdown()for the hazard concentration label (#482).
Modifications
ssd_label_comma_hc()now puts the hazard concentration label on its own line instead of marking it up as markdown (#482).
Show all changes in 2.7.0Hide the rest of the changes in 2.7.0
- Replaced the deprecated
..density..withafter_stat(density)inStatSsdpoint.
Dependencies
- Moved dplyr and VGAM from Suggests to Imports and dropped the unused plyr, abind, magrittr, reshape2 and tidyselect dependencies. Fitting the Gompertz distribution no longer prompts to install VGAM.
- Removed the dependency on the ggtext package, which is scheduled for archival on CRAN (#482).
Error Checking
ssd_plot()now checks thathcis numeric and thatdecimal.markis a string andssd_plot_data()now checks thatsuffixis a string.
Documentation
- Removed the small sample bias vignette (moved to ssdvignettes).
- Updated the
range_shape1andrange_shape2parameter descriptions. - Updated the README with the consultation process.
From NEWS.md in the release
Install
Health
- OK13 OK2026-09-05
- NOTE11 OK, 2 NOTE2026-07-16
- OK12 OK, 1 FAILURE2026-06-08
- WARNING12 OK, 1 WARNING2026-06-07
- OK12 OK2026-04-25
Show 3 earlier changesHide 3 earlier changes
- NOTE11 OK, 3 NOTE2026-04-22
- ERROR10 OK, 3 NOTE, 1 ERROR2026-04-18
- NOTE11 OK, 3 NOTE2026-03-10
Documentation
The repository also keeps web-only articles.
- Help pages
- 74 (23 internal)includes a package overview page
- Examples that run
- 91%52 run in a plain check · 5 never run
- Exported functions with examples
- 74%
- Documented parameters
- 99%
- Return-value docs
- 60%
- Help pages citing references
- 1%
Downloads
Repository
- PRs merged (all time)
- 85%
- Median days to close, 50 most recently updated closed issues
- 16
- Median days to close, 50 most recently updated closed PRs
- 1
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
Commit identities over time
19 development-tooling and community-health practices detected across 8 families in the upstream repository
Checks run against github.com/bcgov/ssdtools on 2026-10-11.
The R CMD check workflow runs on Linux
GitHub Pages site last deployed 2026-09-01
pkgdown site last built 2026-09-01
Show all practicesHide 4 practices
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-06-07Named in .Rbuildignore: .claudeCommits: at least 29 crediting it in the message
- Cursorfirst seen on or before 2026-08-04Commits: at least 1 crediting it in the message
- Claude CodePull requests: 3 from outside contributors, first on 2026-06-10, 3 from forks
- Claude Opus 511 commits · Aug 2026
- Claude Opus 4.810 commits · Jun 2026
- Claude Fable 58 commits · Jul 2026
Dependencies
Installing ssdtools adds 54 packages (27 with compiled code, 41 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, Rcpp 1.8 MB.
Code & Tests
Datasets
People & History
Show 11 more contributorsHide 11 contributors
Pick two releases to compare their code metrics.
- 2.7.0Latest
- RR 4.6.0 released · 2026-04-24
- 2.6.02026-03-05 · diff ↗
- 2.5.02025-12-01 · diff ↗
- 2.4.02025-09-12 · diff ↗ ·
added 4 exports
ssd_at_boundary, ssd_ci_methods, ssd_computable, ssd_est_methods - RR 4.5.0 released · 2025-04-11
- 2.3.02025-02-20 · diff ↗
- 2.2.0
- 2.1.0
- 2.0.02024-10-09 · diff ↗ ·
removed 1 export
ssd_cfplotadded 21 exports
params, scale_fill_ssd, ssd_censor_data, ssd_eburrIII3, ssd_egamma, ssd_egompertz, ssd_einvpareto, ssd_elgumbel, ssd_ellogis, ssd_ellogis_llogis, ssd_elnorm, ssd_elnorm_lnorm, ssd_emulti, ssd_eweibull, ssd_hp_bcanz, ssd_label_comma, ssd_licensing_md, ssd_min_pmix, ssd_pmulti, ssd_qmulti, ssd_rmulti - RR 4.4.0 released · 2024-04-24
- 1.0.62023-09-07 · diff ↗
- 1.0.52023-08-29 · diff ↗
- 1.0.42023-05-17 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 1.0.32023-04-12 · diff ↗
Show 21 earlier eventsHide 21 earlier events
- 1.0.22022-05-15 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 1.0.12022-04-10 · diff ↗
- 1.0.02022-04-01 · diff ↗ ·
removed 48 exports
GeomSsd, GeomSsdcens, StatSsd, StatSsdcens, dburrIII2, dburrIII3, dgamma, dllog, dllogis, dlnorm, dpareto, dweibull, is.fitdist, is.fitdistcens, is.fitdistscens, pburrIII2, pburrIII3, pgamma, pllog, pllogis, plnorm, ppareto, pweibull, qburrIII2, qburrIII3, qgamma, qllog, qllogis, qlnorm, qpareto and 18 moreadded 65 exports
GeomSsdpoint, GeomSsdsegment, StatSsdpoint, StatSsdsegment, augment, autoplot, coef, estimates, geom_ssdpoint, geom_ssdsegment, glance, is_censored, logLik, nobs, plot, predict, scale_color_ssd, scale_colour_ssd, ssd_data, ssd_dists, ssd_dists_all, ssd_dists_bcanz, ssd_ecd_data, ssd_fit_bcanz, ssd_fit_burrlioz, ssd_hc_bcanz, ssd_hc_burrlioz, ssd_is_censored, ssd_pal, ssd_pburrIII3 and 35 more - 0.3.72021-10-27 · diff ↗
- 0.3.62021-09-22 · diff ↗
- 0.3.52021-09-03 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 0.3.42021-05-14 · diff ↗
- 0.3.32021-02-19 · diff ↗
- 0.3.22020-09-02 · diff ↗
- 0.3.12020-09-01 · diff ↗
- 0.3.0
- RR 4.0.0 released · 2020-04-24
- 0.2.02020-04-15 · diff ↗
- 0.1.12020-01-24 · diff ↗
- 0.1.02020-01-13 · diff ↗ ·
added 33 exports
dburrIII2, dburrIII3, dgamma, dllogis, dweibull, pburrIII2, pburrIII3, pgamma, pllogis, pweibull, qburrIII2, qburrIII3, qgamma, qllogis, qweibull, rburrIII2, rburrIII3, rgamma, rllogis, rweibull, sburrIII2, sburrIII3, sgamma, sgompertz, slgumbel, sllog, sllogis, spareto, ssd_exposure, ssd_hp and 3 more - RR 3.6.0 released · 2019-04-26
- 0.0.32018-11-25 · diff ↗ ·
removed 1 export
ssd_fit_distadded 8 exports
dgompertz, dpareto, pgompertz, ppareto, qgompertz, qpareto, rgompertz, rpareto - 0.0.22018-10-14
- RR 3.5.0 released · 2018-04-23
Package metadata
- First published
- 2018-10-14
- Total releases
- 28 / 8 yrs
- License
- Apache License (== 2.0) | file LICENSE
- Minimum R
- ≥ 4.1
- Bundled data
- 4.8 KB / 2 files
- Download size
- 1.8 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("ssdtools")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.21105/joss.07492.
The repository also keeps a CITATION.cff.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.