Skip to contents

All functions

adagraph_design()
Make a new (generic) trial design
cer_adapt()
Adapt the trial design after the interim test
cer_adapt_bounds()
Adjust bounds after changing some design parameters
cer_alt_drop_hypotheses()
Adapt a cer design by dropping hypotheses, with a simplified strategy for redistributing weights
cer_design()
Make a new CER trial design
cer_drop_hypotheses()
Adapt a cer design by dropping hypotheses
cer_final_test()
Test a cer design for early rejection of hypotheses and calculate the CER for adaptions
cer_interim_test()
Test a cer design for early rejection of hypotheses and calculate the CER for adaptions
cer_prep_bounds()
Calculate bounds for preplanned test
get_cer()
Get the Conditional Error Rate for a intersection of hypotheses
get_data_gen()
Get a data generating function for simulating a trial
get_data_gen_2()
Get a data generating function for simulating the second stage of a trial
get_t()
Get the time fractions for given sample sizes
multiarm_cer_design()
Make a new multiarm CER trial design
multiarm_drop_arms()
Drop arm from a multiarm design
redistribute_n()
Get the amount of people for each hypotheses in the 2. stage of a trial assuming a fixed population
sim_trial()
Run a series of simulated trials according to a specified design