Shiny App

Functions to use the shiny app

run_app()

Run the Shiny Application

Sample size planning functions

Functions to determine the sample size with different methods

ssp_aipe()

Determine sample size with Accuracy In Parameter Estimation (AIPE) method

ssp_app()

Determine sample size with A Priori Precision (APP) method

ssp_bf_predetermined() super_bf()

Determine sample size with Predetermined sample size with Bayes factor method

ssp_bfda()

Determine sample size with Bayes Factor Design Analysis (BFDA)

ssp_eq_bf() eq_bf()

Determine sample size with Equivalence interval Bayes factor method

ssp_power_curve()

Determine sample size for the power curve method

ssp_power_traditional()

Determine sample size with the Classical power analysis method

ssp_rope() rope()

Determine sample size with Region of Practical Equivalence (ROPE) method

ssp_tost()

Determine sample size with Two One‐Sided Test (TOST) method

Plotting

Functions to plot the results of sample determination

plot_power_curve()

Function to plot the results of the power curve calculation

Datafiles

Description of pacakge datafiles

rope_precalculation_results

Region of Practical Equivalence method Precalculation Results

bfda_precalculation_results

Bayes Factor Design Analysis Precalculation Results

eq_bf_precalculation_results

Equivalence Interval Bayes Factor Precalculation Results