Releases: Tim-TU/weibulltools
Releases · Tim-TU/weibulltools
weibulltools 2.0.0
Breaking Changes
- Package now depends on R(>= 3.5.0)
Non-Parametric Failure Probabilities
mr_method(): Deprecated, useestimate_cdf()instead. Renamed output columncharacteristicwithx. Set default value foridtoNULL.johnson_method(): Deprecated, useestimate_cdf()instead. Renamed output columncharacteristicwithx. Set default value foridtoNULL.kaplan_method(): Deprecated, useestimate_cdf()instead. Renamed output columncharacteristicwithx. Set default value foridtoNULL.nelson_method(): Deprecated, useestimate_cdf()instead. Renamed output columncharacteristicwithx. Set default value foridtoNULL.plot_prob.default()(formerplot_prob()): Renamedeventwithstatus.plot_prob_mix(): Deprecated, useplot_prob()instead. Removed default valueNULLfor argumentmix_output. Renamedeventwithstatus.
Parametric Models
ml_estimation.default()(formerml_estimation()): Renamedeventwithstatus. Removeddetails. Changed names and contents of list elements in output. See?ml_estimation.loglik_function: Renamedeventwithstatus. Renamedparswithdist_params.rank_regression.default()(formerrank_regression()): Renamedeventwithstatus. Removeddetails. Changed names and contents of list elements in output. See?rank_regression.mixmod_em.default()(formermixmod_em()): Renamedeventwithstatus. Removedpost.mixmod_regression.default()(formermixmod_regression()): Renamedeventwithstatus. Added argumentskandcontrol, which provide finer control over the segmentation process. Expect default setting to provide other results than in prior versions.predict_prob(): Renamedloc_sc_paramswithdist_params.predict_quantile(): Renamedloc_sc_paramswithdist_params.plot_mod.default()(formerplot_mod()): Renamedeventwithstatus. Renamedloc_sc_paramswithdist_params. Removedy.plot_mod_mix(): Deprecated, useplot_mod()instead. Renamedeventwithstatus.plot_pop(): Added argumenttolto restrict the range of failure probabilities. Removed argumentcolor. Renamed argumentparamstodist_params_tbl, which only supports location and scale parameters (also fordistribution = "weibull"). Changed behavior ofdist_params_tbl: Atibbleis now recommended instead of a vector.
Confidence Intervals
confint_betabinom.default()(formerconfint_betabinom()): Renamedeventwithstatus. Renamedloc_sc_paramswithdist_params. Added argumentb_liveswhich allows the user to specify probabilitiespforB_p-livesto be considered.confint_fisher.default()(formerconfint_fisher()): Renamedeventwithstatus. Renamedloc_sc_paramswithdist_params. Renamedloc_sc_varcovwithdist_varcov. Added argumentb_liveswhich allows the user to specify probabilitiespforB_p-livesto be considered.delta_method(): Renamedloc_sc_paramswithdist_params. Renamedloc_sc_varcovwithdist_varcov.plot_conf.default()(formerplot_conf()): Switched position of argumentsdirectionanddistribution.
Monte Carlo Simulation
dist_delay_register(): Deprecated, usedist_delay()instead.dist_delay_report(): Deprecated, usedist_delay()instead.mcs_delay_register(): Deprecated, usemcs_delay()instead. Renamedxwithtime. Renamedeventwithstatus. Removedseed. Removedint_seedfrom output list.mcs_delay_report(): Deprecated, usemcs_delay()instead. Renamedxwithtime. Renamedeventwithstatus. Removedseed. Removedint_seedfrom output list.mcs_delays(): Deprecated, usemcs_delay()instead. Renamedxwithtime. Renamedeventwithstatus. Removedseed. Removedint_seedfrom output list.dist_mileage(): Removedevent. Renamedxwithtime. Switched position of argumentstimeandmileage.mcs_mileage(): Removedevent. Renamedxwithtime. Switched position of argumentstimeandmileage.
New Features
- Added support for ggplot2 in all plot functions. Plot method can be selected in
plot_prob()orplot_pop()via argumentplot_method. - Added
reliability_data(): Create consistent reliability data. - Added
estimate_cdf(): Unite functionality ofmr_method(),johnson_method(),kaplan_method()andnelson_method(). Added optionties.methodformethod = "mr", which specifies how ties should be treated. - Support of multiple methods in
estimate_cdf()and all functions that depend on thecdf_estimation(rank_regression(),plot_prob(),plot_mod(),plot_conf(),mixmod_regression()). plot_prob()andplot_mod()are able to handle mixture models.mixmod_regression()is now more flexible. Argumentkcan be used to control number of subgroups or to determine them in an automatic fashion. Argumentcontrolprovides additional control over the segmentation procedure.- Added
print.wt_rank_regression(),print.wt_ml_estimation(),print.wt_model_estimation(),print.wt_model_estimation_list(),print.wt_mixmod_regression()andprint.wt_mixmod_regression_list(). - Added
vcov.wt_model_estimation(). - Added
dist_delay(): Generalizes the distribution-specific modeling of delays. - Added
mcs_delay(): Generalizes the adjustment of operating times by delays and supports multiple delays at once. - Added lifecycle badges
Introduction of S3 interface
rank_regression()is now an S3 generic.rank_regression()becomesrank_regression.default(). Addedrank_regression.wt_cdf_estimation().plot_prob()is now an S3 generic.plot_prob()becomesplot_prob.default(). Addedplot_prob.wt_cdf_estimation()andplot_prob.wt_model().plot_mod()is now an S3 generic.plot_mod()becomesplot_mod.default(). Addedplot_mod.wt_model().plot_conf()is now an S3 generic.plot_conf()becomesplot_conf.default(). Addedplot_conf.wt_confint().plot_pop(): Added support for multiple population lines and comparison of two- and three-parametric distributions.
Documentation improvements
- Revised README.
- Revised vignettes.
- Capitalized parameter documentation.
Lifecycle changes
Deprecated
dist_delay_register()anddist_delay_report(): Usedist_delay()instead.mcs_delay_register(),mcs_delay_report()andmcs_delays(): Usemcs_delay()instead.mr_method(),johnson_method(),kaplan_method()andnelson_method(): Useestimate_cdf()instead.plot_prob_mix(): Useplot_prob()instead.plot_mod_mix(): Useplot_mod()instead.
Removed
calculate_ranks.mixture_em_cpp.plot_layout.
Minor improvements and bug fixes
- Fixed bug inside
plot_mod_mix()for the case of no mixture distribution. - Fixed bug inside
confint_betabinom(): many cases near one ->unique(). - Fixed bug inside
mr_method(): assigning a rank for the same lifetime. - Fixed bug inside
mixmod_regression: call tosegmented::segmented.lm()was incorrect. - Added trace type
"scatter"and scatter mode"markers"to plotly plots. delta_method(),r_squared_profiling()andloglik_profiling()were vectorized.