CMD + K

r-relatable

Community

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.

Installation

To install this package, run one of the following:

Conda
$conda install r_test::r-relatable

Usage Tracking

1.0.0
1 / 8 versions selected
Downloads (Last 6 months): 0

About

Summary

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.

Last Updated

Oct 15, 2019 at 16:48

License

MIT

Total Downloads

1

Version Downloads

1

Supported Platforms

noarch