relatable: Functions for Mapping Key-Value Pairs, Many-to-Many, One-to-Many, and Many-to-One Relations

Functions to safely map from a vector of keys to a vector of values, determine properties of a given relation, or ensure a relation conforms to a given type, such as many-to-many, one-to-many, injective, surjective, or bijective. Permits default return values for use similar to a vectorised switch statement, as well as safely handling large vectors, NAs, and duplicate mappings.

Version: 1.0.0
Depends: R (≥ 3.4)
Imports: compare (≥ 0.2-6)
Suggests: testthat, knitr, rmarkdown, tibble
Published: 2018-01-30
DOI: 10.32614/CRAN.package.relatable
Author: Dominic Jarkey [aut, cre]
Maintainer: Dominic Jarkey <dominic.jarkey at gmail.com>
License: MIT + file LICENSE
URL: https://github.com/domjarkey/relatable
NeedsCompilation: no
Materials: README NEWS
CRAN checks: relatable results

Documentation:

Reference manual: relatable.pdf
Vignettes: restrictions

Downloads:

Package source: relatable_1.0.0.tar.gz
Windows binaries: r-devel: relatable_1.0.0.zip, r-release: relatable_1.0.0.zip, r-oldrel: relatable_1.0.0.zip
macOS binaries: r-release (arm64): relatable_1.0.0.tgz, r-oldrel (arm64): relatable_1.0.0.tgz, r-release (x86_64): relatable_1.0.0.tgz, r-oldrel (x86_64): relatable_1.0.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=relatable to link to this page.