This is an R package based on the R code scripts by Carl Schwarz https://github.com/bcgov/SSD-methods.