Functions and Examples in Sample Size Calculation in
        Clinical Research.

Provides the "r, q, p, and d" distribution functions for the triangle distribution.  Also includes maximum likelihood estimation of parameters.

Measuring angles between points in a landscape is much easier
    than measuring distances. When the location of three points is known the
    position of the observer can be determined based solely on the angles between
    these points as seen by the observer. This task (known as triangulation)
    however requires onerous calculations - these calculations are automated by this
    package.

A collection of high-performance functions for the triangular
    distribution that consists of the probability density function, cumulative
    distribution function, quantile function, random variate generator, moment
    generating function, characteristic function, and expected shortfall
    function. References: Samuel Kotz, Johan Ren Van Dorp (2004)
    <doi:10.1142/5720> and Acerbi, Carlo and Tasche, Dirk. (2002)
    <doi:10.1111/1468-0300.00091>.

Fits 2D and 3D geometric transformations via 'Stan' probabilistic programming engine ( 
    Stan Development Team (2021) <https://mc-stan.org>). Returns posterior distribution for individual
    parameters of the fitted distribution. Allows for computation of LOO and WAIC information criteria 
    (Vehtari A, Gelman A, Gabry J (2017) <doi:10.1007/s11222-016-9696-4>) as well as Bayesian R-squared
    (Gelman A, Goodrich B, Gabry J, and Vehtari A (2018) <doi:10.1080/00031305.2018.1549100>).

'Radix trees', or 'tries', are key-value data structures optimised for efficient lookups, similar in purpose
             to hash tables. 'triebeard' provides an implementation of 'radix trees' for use in R programming and in
             developing packages with 'Rcpp'.

The trigger strategy is a general framework for a multistage statistical design with multiple hypotheses, allowing an adaptive selection of interim analyses. The selection of interim stages can be associated with some prespecified endpoints which serve as the trigger. This selection allows us to refine the critical boundaries in hypotheses testing procedures, and potentially increase the statistical power. This package includes several trial designs using the trigger strategy. 
    See Gou, J. (2023), "Trigger strategy in repeated tests on multiple hypotheses", Statistics in Biopharmaceutical Research, 15(1), 133-140, and Gou, J. (2022), "Sample size optimization and initial allocation of the significance levels in group sequential trials with multiple endpoints", Biometrical Journal, 64(2), 301-311.