API wrapper to gather news stories, media information and tags from the 'mediacloud.org' API, based on a multilevel query <https://mediacloud.org/>. A personal API key is required.

Calculates MeDiA_K (means Mean Distance Association by K-nearest neighbor) in order to detect nonlinear associations.

Provides a general framework for clinical trial simulations based
    on the Clinical Scenario Evaluation (CSE) approach. The package supports a
    broad class of data models (including clinical trials with continuous, binary,
    survival-type and count-type endpoints as well as multivariate outcomes that are
    based on combinations of different endpoints), analysis strategies and commonly
    used evaluation criteria.

Efficient simulation-based power and sample size calculations are supported for a
  broad class of late-stage clinical trials. The following modules are included in
  the package:
  Adaptive designs with data-driven sample size or event count re-estimation,
  Adaptive designs with data-driven treatment selection,
  Adaptive designs with data-driven population selection,
  Optimal selection of a futility stopping rule,
  Event prediction in event-driven trials,
  Adaptive trials with response-adaptive randomization (experimental module),
  Traditional trials with multiple objectives (experimental module).
  Traditional trials with cluster-randomized designs (experimental module).

Extract textual data from different media channels 
    through its source based on users choice of keywords. 
    These data can be used to perform text analysis to 
    identify patterns in respective media reporting.
    The media channels used in this package are print media.
    The data (or news) used are publicly available to consumers.

Functions for calculating the point and interval estimates of the natural indirect effect (NIE), total effect (TE), and mediation proportion (MP), based on the product approach. We perform the methods considered in Cheng, Spiegelman, and Li (2021) Estimating the natural indirect effect and the mediation proportion via the product method.