Parses information from text files with specific utility aimed at pulling information from Med Associate's (MPC) files. These functions allow for further analysis of MPC files.

An increasingly important source of health-related bibliographic 
    content are preprints - preliminary versions of research articles that have
    yet to undergo peer review. The two preprint repositories most relevant to 
    health-related sciences are medRxiv <https://www.medrxiv.org/> and
    bioRxiv, both of which are operated by the Cold
    Spring Harbor Laboratory. 'medrxivr' provides programmatic access to the 
    'Cold Spring Harbour Laboratory (CSHL)' API <https://api.biorxiv.org/>,
    allowing users to easily download medRxiv and bioRxiv preprint metadata
    (e.g. title, abstract, publication date, author list, etc) into R. 
    'medrxivr' also provides functions to search the downloaded preprint records 
    using regular expressions and Boolean logic, as well as helper functions 
    that allow users to export their search results to a .BIB file for easy 
    import to a reference manager and to download the full-text PDFs of 
    preprints matching their search criteria.

A collection of methods for large scale single mediator hypothesis
    testing. The six included methods for testing the mediation effect are Sobel's
    test, Max P test, joint significance test under the composite null hypothesis,
    high dimensional mediation testing, divide-aggregate composite null test,
    and Sobel's test under the composite null hypothesis. Du et al (2023) 
    <doi:10.1002/gepi.22510>.

Implements a model-based clustering method for categorical life-course sequences relying on mixtures of exponential-distance models introduced by Murphy et al. (2021) <doi:10.1111/rssa.12712>. A range of flexible precision parameter settings corresponding to weighted generalisations of the Hamming distance metric are considered, along with the potential inclusion of a noise component. Gating covariates can be supplied in order to relate sequences to baseline characteristics and sampling weights are also accommodated. The models are fitted using the EM algorithm and tools for visualising the results are also provided.