adaptr-package | adaptr: Adaptive Trial Simulator |
assert_pkgs | Check availability of required packages |
calculate_idp | Calculate the ideal design percentage |
calibrate_trial | Calibrate trial specification |
cat0 | cat() with sep = "" |
check_performance | Check performance metrics for trial simulations |
check_remaining_arms | Check remaining arm combinations |
cov_mat | Estimates covariance matrices used by Gaussian process... |
dispatch_trial_runs | Simulate single trial after setting seed |
equivalent_funs | Assert equivalent functions |
extract_history | Extract history |
extract_results | Extract simulation results |
extract_results_batch | Extract results from a batch of trials from an object with... |
extract_statuses | Extract statuses |
find_beta_params | Find beta distribution parameters from thresholds |
fmt_dig | Format digits before printing |
fmt_pct | Create formatted label with absolute and relative frequencies... |
get_draws_binom | Generate draws from posterior beta-binomial distributions |
get_draws_generic | Generic documentation for get_draws_* functions |
get_draws_norm | Generate draws from posterior normal distributions |
get_ys_binom | Generate binary outcomes from binomial distributions |
get_ys_norm | Generate normally distributed continuous outcomes |
gp_opt | Gaussian process-based optimisation |
make_x_scale | Make x-axis scale for history/status plots |
make_y_scale | Make y-axis scale for history/status plots |
plot_convergence | Plot convergence of performance metrics |
plot_history | Plot trial metric history |
plot_metrics_ecdf | Plot empirical cumulative distribution functions of... |
plot_status | Plot statuses |
pow_abs_dist | Calculates matrix of absolute distances raised to a power |
Print methods for adaptive trial objects | |
prob_all_equi | Calculate the probability that all arms are practically... |
prob_best | Calculate the probabilities of each arm being the best |
prob_better | Calculate probabilities of comparisons of arms against with... |
prog_breaks | Generate breakpoints and other values for printing progress |
reallocate_probs | Update allocation probabilities |
replace_nonfinite | Replace non-finite values with other value... |
replace_null | Replace NULL with other value (NULL-OR-operator) |
rescale | Rescale numeric vector to sum to 1 |
run_trial | Simulate a single trial |
run_trials | Simulate multiple trials |
setup_cluster | Setup default cluster for use in parallelised adaptr... |
setup_trial | Setup a generic trial specification |
setup_trial_binom | Setup a trial specification using a binary, binomially... |
setup_trial_norm | Setup a trial specification using a continuous, normally... |
stop0_warning0 | stop() and warning() with call. = FALSE |
summarise_dist | Summarise distribution |
summarise_num | Summarise numeric vector |
summary | Summary of simulated trial results |
update_saved_calibration | Update previously saved calibration result |
update_saved_trials | Update previously saved simulation results |
validate_trial | Validate trial specification |
vapply_helpers | vapply helpers |
verify_int | Verify input is single integer (potentially within range) |
which_nearest | Find the index of value nearest to a target value |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.