ssdtools 2.4.0
Features
- Added right censoring for all distributions (by @eduardszoecs).
- Added
rescale = "odds"option tossd_fit_dists()to allow fitting to dilution data includingodds_max = 0.999argument to handle values of 1.
Functions
- Added
ssd_ci_methods()andssd_est_methods()to get character vector of methods. - Added
ssd_at_boundary()andssd_computable(). - Added class and attribute preserving
[[and[operators.
Arguments
- Added
strict = TRUEargument tosubset()to allow subsetting when distributions missing (withstrict = FALSE).
Output Columns
- Added column
"dists"tossd_hc(),ssd_hp()andpredict()which is a list of the distributions. - Added
"est_method"and"ci_method"columns to tibble output byssd_hc(),ssd_hp()andpredict(). - Added
"level"column to tibble output byssd_hc(),ssd_hp()andpredict(). - Added
"at_bound"and"computable"columns to tibble output byssd_gof(). - Renamed
"method"column to"boot_method"in tibble output byssd_hc(),ssd_hp()andpredict(). ssd_hc(),ssd_hp()andpredict()now only return missing values forse,lclanduclwhennboot = 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 ofssd_dists_bcanz().
Modifications
- Modified method to calculate
ssd_ecd()to usestats::ppoints(). - Ensures
weighted_samplessum to nboot.
Deprecated
-
Deprecated
ssd_dists_shiny(). -
Deprecated
ties.method = "first"argument inssd_ecd(). -
Soft-deprecated
est_method = "multi"argument tomulti_est = TRUEforssd_hc(),ssd_hp()andpredict(). -
Soft-deprecated
proportion = FALSEtoproportion = TRUEargument tossd_hp()which switches output from percentages to proportions. -
Soft-deprecated
wt = FALSEforwt = TRUEargument tossd_gof()andglance()which replaces column"weight"with"wt"in output. -
Soft-deprecated
ci_method = "weighted_arithmetic"forci_method = "MACL".