Learn R Programming

mappings

An R package for mapping between different sets of categorical values.

Installation

To install from CRAN:

install.packages("mappings")

To install the latest development version directly from GitHub:

require(remotes)
remotes::install_github("benjaminrich/mappings")

Getting Started

Vignette coming soon...

Copy Link

Version

Install

install.packages('mappings')

Monthly Downloads

237

Version

0.2.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Benjamin Rich

Last Published

October 23rd, 2025

Functions in mappings (0.2.0)

as.data.frame.mapping

Convert a mapping to data.frame
cut_mapping

Mapping from continuous to categorical
remap

Re-map a variable
cf

Construct a factor from one or more vectors
mapping

Generate a Mapping Function
domain

Domain and codomain of a mapping.
text2mapping

Convenient shorthand for specifying mappings with text strings
paste_mapping

A mapping that adds a prefix and/or suffix
print.mapping

Print a mapping
inverse

Inverse of a mapping