R: Utility-Based Optimization for Basket Trial Designs

# Utility-Based Optimization for Basket Trial Designs

## Documentation for package ‘baskoptr’ version 1.0.4

- DESCRIPTION file.

## Help Pages

append_details | Internal helper function: Append and set elements of a details list
epsilon_extreme | Extreme borrowing cutoffs for borrowing in Fujikawa's design
get_details_for_two_scenarios | Internal helper function: Get details for two response scenarios
get_p1s | Generate an array of possible outcome scenarios
get_scenarios | Generate a scenario of possible outcomes
get_trace_info | Internal helper function: Decide whether to record a trace and what path to use
io_val_p1 | Internal helper function: Input validation for p1
opt_design_gen | Optimize a Basket Trial Design
params_main | List of parameters used across the package
params_utility_caller | List of parameters used for functions calling utility functions
set_details | Internal helper function: Append and set elements of a details list
tau_extreme | Extreme borrowing cutoffs for borrowing in Fujikawa's design
u_2ewp | Utility functions: Two-level power-error combination functions
u_2pow | Utility functions: Two-level power-error combination functions
u_avg | Utility function: Scenario-averaged utility function
u_bnd | Utility function with boundaries on the parameters
u_ecd | Utility functions: Discontinuous power/ECD functions with type-I error penalty
u_ewp | Utility functions: Discontinuous power/ECD functions with type-I error penalty