| confint_search | Confidence interval search procedure |
| est_null_model | Estimates null model |
| gen_rand_order | Function to generate a stepped-wedge cRCT randomisation allocation |
| outname_fit | Extracts the dependent variable name from glm, lm, or mer model |
| permutation_test_impl | Generates realisations of the permutational test statistic distribution |
| perm_dist | Extracts the test statistics |
| qscore_impl | The quasi-score statistic for a generalised linear mixed model |
| setParallelCRT | Disable or enable parallelised computing |
| simpleLM | A very basic linear model solver |
| stepdown | Conduct the randomisation-based stepdown procedure |
| twoarm_sim | Simulates data from a two-arm parallel cluster randomised trial |