leeper/mcode: Functions to Merge and Recode Across Multiple Variables

Functions to create multiple vectors from a single input vector (e.g., a matrix of indicator/dummy variables), convert a list, data.frame, or matrix of vectors into a single vector (e.g., to merge multiple vectors with mutually exclusive missingness into one), and generate new variables based on levels and combinations of multiple input vectors (e.g., to create a vector for a set of complex recodings).

Getting started

Package details

Maintainer
LicenseGPL-2
Version0.1.5
URL https://github.com/leeper/mcode
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("leeper/mcode")
leeper/mcode documentation built on May 21, 2019, 12:37 a.m.