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

URL https://github.com/leeper/mcode
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
leeper/mcode documentation built on May 21, 2019, 12:37 a.m.