A fast and flexible framework for agglomerative partitioning.
    'partition' uses an approach called Direct-Measure-Reduce to create
    new variables that maintain the user-specified minimum level of
    information. Each reduced variable is also interpretable: the original
    variables map to one and only one variable in the reduced data set.
    'partition' is flexible, as well: how variables are selected to
    reduce, how information loss is measured, and the way data is reduced
    can all be customized.  'partition' is based on the Partition
    framework discussed in Millstein et al. (2020) 
    <doi:10.1093/bioinformatics/btz661>.

A collection of functions that can be used to estimate selection and complementarity effects,
	sensu Loreau & Hector (2001) <doi:10.1038/35083573>, even in cases where data are only available for
	a random subset of species (i.e. incomplete sample-level data). A full derivation and explanation of the 
	statistical corrections used here is available in Clark et al. (2019) <doi:10.1111/2041-210X.13285>.

Provides several measures ((dis)similarity, distance/metric,
    correlation, entropy) for comparing two partitions of the same set of
    objects. The different measures can be assigned to three different
    classes: Pair comparison (containing the famous Jaccard and Rand
    indices), set based, and information theory based.
    Many of the implemented measures can be found in
    Albatineh AN, Niewiadomska-Bugaj M and Mihalko D (2006)
    <doi:10.1007/s00357-006-0017-z> and
    Meila M (2007) <doi:10.1016/j.jmva.2006.11.013>.
    Partitions are represented by vectors of class labels which allow a
    straightforward integration with existing clustering algorithms
    (e.g. kmeans()). The package is mostly based on the S4 object system.

partitionMetric computes a distance between two partitions
        of a set.

Additive partitions of integers.  Enumerates the
  partitions, unequal partitions, and restricted partitions of an
  integer; the three corresponding partition functions are also given.
  Set partitions and now compositions and riffle shuffles are
  included.