Man pages for adaptr
Adaptive Trial Simulator

adaptr-packageadaptr: Adaptive Trial Simulator
assert_pkgsCheck availability of required packages
calculate_idpCalculate the ideal design percentage
calibrate_trialCalibrate trial specification
cat0cat() with sep = ""
check_performanceCheck performance metrics for trial simulations
check_remaining_armsCheck remaining arm combinations
cov_matEstimates covariance matrices used by Gaussian process...
dispatch_trial_runsSimulate single trial after setting seed
equivalent_funsAssert equivalent functions
extract_historyExtract history
extract_resultsExtract simulation results
extract_results_batchExtract results from a batch of trials from an object with...
extract_statusesExtract statuses
find_beta_paramsFind beta distribution parameters from thresholds
fmt_digFormat digits before printing
fmt_pctCreate formatted label with absolute and relative frequencies...
get_draws_binomGenerate draws from posterior beta-binomial distributions
get_draws_genericGeneric documentation for get_draws_* functions
get_draws_normGenerate draws from posterior normal distributions
get_ys_binomGenerate binary outcomes from binomial distributions
get_ys_normGenerate normally distributed continuous outcomes
gp_optGaussian process-based optimisation
make_x_scaleMake x-axis scale for history/status plots
make_y_scaleMake y-axis scale for history/status plots
plot_convergencePlot convergence of performance metrics
plot_historyPlot trial metric history
plot_metrics_ecdfPlot empirical cumulative distribution functions of...
plot_statusPlot statuses
pow_abs_distCalculates matrix of absolute distances raised to a power
printPrint methods for adaptive trial objects
prob_all_equiCalculate the probability that all arms are practically...
prob_bestCalculate the probabilities of each arm being the best
prob_betterCalculate probabilities of comparisons of arms against with...
prog_breaksGenerate breakpoints and other values for printing progress
reallocate_probsUpdate allocation probabilities
replace_nonfiniteReplace non-finite values with other value...
replace_nullReplace NULL with other value (NULL-OR-operator)
rescaleRescale numeric vector to sum to 1
run_trialSimulate a single trial
run_trialsSimulate multiple trials
setup_clusterSetup default cluster for use in parallelised adaptr...
setup_trialSetup a generic trial specification
setup_trial_binomSetup a trial specification using a binary, binomially...
setup_trial_normSetup a trial specification using a continuous, normally...
stop0_warning0stop() and warning() with call. = FALSE
summarise_distSummarise distribution
summarise_numSummarise numeric vector
summarySummary of simulated trial results
update_saved_calibrationUpdate previously saved calibration result
update_saved_trialsUpdate previously saved simulation results
validate_trialValidate trial specification
vapply_helpersvapply helpers
verify_intVerify input is single integer (potentially within range)
which_nearestFind the index of value nearest to a target value
adaptr documentation built on May 29, 2024, 7:48 a.m.