AnthropMMD

CRAN Version pipeline status coverage report CRAN Downloads

AnthropMMD is an R package for an easy calculation of the mean measure of divergence (MMD). It offers both a graphical user interface (for scientists who are not R programmers), and a set of functions which can be used through the command line interface (for reproducible research or scientists who are already familiar with R).

For the technical and scientific aspects, the package is better described in its vignette.

Feature requests or bug reports are welcome.

The latest stable version of AnthropMMD is available on CRAN, and can be installed by typing the following command line into the R console:

install.packages("AnthropMMD", dep = TRUE)

Installation of the R package AnthropMMD from GitLab

Alternatively, the latest development (possibly unstable) version can be installed from GitLab.

Install prerequisites

  1. Make sure that Git and a recent version of R (newer than 4.1.0) are installed.

  2. Install the R package remotes by typing the following command line into the R console:

  3. Install build environment:

Install AnthropMMD

Run the following command in R:

remotes::install_git('https://gitlab.com/f-santos/anthropmmd.git',
                     build_vignettes = TRUE)

Package vignette

The package vignette can also be consulted locally by running the following command into the R console:

vignette(package = "AnthropMMD", topic = "intro_AnthropMMD")

Running AnthropMMD

To start the graphical interface, run the following commands into the R console:

library(AnthropMMD)
start_mmd()

Citing AnthropMMD

To cite the package in a scientific article, citation information can be found by typing:

citation("AnthropMMD")

into the R console.