Skip to content

ssdtools 2.4.0

Choose a tag to compare

@joethorley joethorley released this 15 Sep 16:17
· 66 commits to main since this release
3a5aaba

Features

  • Added right censoring for all distributions (by @eduardszoecs).
  • Added rescale = "odds" option to ssd_fit_dists() to allow fitting to dilution data including odds_max = 0.999 argument to handle values of 1.

Functions

  • Added ssd_ci_methods() and ssd_est_methods() to get character vector of methods.
  • Added ssd_at_boundary() and ssd_computable().
  • Added class and attribute preserving [[ and [ operators.

Arguments

  • Added strict = TRUE argument to subset() to allow subsetting when distributions missing (with strict = FALSE).

Output Columns

  • Added column "dists" to ssd_hc(), ssd_hp() and predict() which is a list of the distributions.
  • Added "est_method" and "ci_method" columns to tibble output by ssd_hc(), ssd_hp() and predict().
  • Added "level" column to tibble output by ssd_hc(), ssd_hp() and predict().
  • Added "at_bound" and "computable" columns to tibble output by ssd_gof().
  • Renamed "method" column to "boot_method" in tibble output by ssd_hc(), ssd_hp() and predict().
  • ssd_hc(), ssd_hp() and predict() now only return missing values for se, lcl and ucl when nboot = 0.

Error Checking

  • Added ... and check unused to ensure matching names of subsequent arguments.
  • Fixed error message when Inf weights.
  • ssd_fit_bcanz() now checks all dists are subset of ssd_dists_bcanz().

Modifications

  • Modified method to calculate ssd_ecd() to use stats::ppoints().
  • Ensures weighted_samples sum to nboot.

Deprecated

  • Deprecated ssd_dists_shiny().

  • Deprecated ties.method = "first" argument in ssd_ecd().

  • Soft-deprecated est_method = "multi" argument to multi_est = TRUE for ssd_hc(), ssd_hp() and predict().

  • Soft-deprecated proportion = FALSE to proportion = TRUE argument to ssd_hp() which switches output from percentages to proportions.

  • Soft-deprecated wt = FALSE for wt = TRUE argument to ssd_gof() and glance() which replaces column "weight" with "wt" in output.

  • Soft-deprecated ci_method = "weighted_arithmetic" for ci_method = "MACL".