Deprecated functions in DTEAssurance
DTEAssurance-deprecated.RdThese functions were renamed to match the manuscript notation (PP for the predictive probability, kappa for the futility threshold) and will be removed in the next release. Each one forwards its arguments to its replacement.
Usage
BPP_func(...)
calibrate_BPP_threshold(...)
calibrate_BPP_timing(...)
summarize_grid_by_lambda(raw, lambda_grid, conf_level = 0.9)
select_lambda_star(...)Arguments
- ...
Arguments passed to the replacement function.
- raw, lambda_grid, conf_level
See
summarize_grid_by_kappa(lambda_gridis passed askappa_grid; the two-sidedconf_levelis converted to the equivalent one-sidedlcb_level).
Details
Only the function names are translated. The elements and columns they
return use the new names (PP_df, PP_vec, PP_values,
PP_val, kappa, kappa_star), so code that reads
BPP_df, BPP_vec, lambda_star, etc. must be updated.
BPP_func(): usePP_func.calibrate_BPP_threshold(): usecalibrate_PP_threshold.calibrate_BPP_timing(): usecalibrate_PP_timing.summarize_grid_by_lambda(): usesummarize_grid_by_kappa.select_lambda_star(): useselect_kappa_star.