Provides various tools for analysing density profiles
    obtained by resistance drilling. It can load individual or
    multiple files and trim the starting and ending part of each
    density profile. Tools are also provided to trim profiles
    manually, to remove the trend from measurements using several
    methods, to plot the profiles and to detect tree rings
    automatically. Written with a focus on forestry use of resistance
    drilling in standing trees.

With bivariate data, it is possible to calculate
    2-dimensional kernel density estimates that return polygons at given
    levels of probability. 'densityarea' returns these polygons for
    analysis, including for calculating their area.

An improved implementation (based on k-nearest neighbors) of
    the density peak clustering algorithm, originally described by Alex
    Rodriguez and Alessandro Laio (Science, 2014 vol. 344). It can handle large 
    datasets (> 100,000 samples) very efficiently. It was initially implemented 
    by Thomas Lin Pedersen, with inputs from Sean Hughes and later improved by 
    Xiaojie Qiu to handle large datasets with kNNs.

Provide a Dens-based method for estimating functional connection in large scale brain networks using partial correlation.

Density ratio estimation.
    The estimated density ratio function can be used in many applications such as
    anomaly detection, change-point detection, covariate shift adaptation.
    The implemented methods are uLSIF (Hido et al. (2011) <doi:10.1007/s10115-010-0283-2>),
    RuLSIF (Yamada et al. (2011) <doi:10.1162/NECO_a_00442>),
    and KLIEP (Sugiyama et al. (2007) <doi:10.1007/s10463-008-0197-x>).

Graphical methods for compactly illustrating probability distributions, including density strips, density regions, sectioned density plots and varying width strips.

Provides the mathematical model described by "Serostatus Testing & Dengue Vaccine Cost-Benefit Thresholds"
    in <doi:10.1098/rsif.2019.0234>.  Using the functions in the package,
    that analysis can be repeated using sample life histories, either synthesized from local seroprevalence data
    using other functions in this package (as in the manuscript) or from some other source.
    The package provides a vignette which walks through the analysis in the publication, as well as a function
    to generate a project skeleton for such an analysis.