cat2cat: Handling an Inconsistently Coded Categorical Variable in a Longitudinal Dataset

Unifying an inconsistently coded categorical variable between two different time points in accordance with a mapping table. The main rule is to replicate the observation if it could be assigned to a few categories. Then using frequencies or statistical methods to approximate the probabilities of being assigned to each of them. This procedure was invented and implemented in the paper by Nasinski, Majchrowska, and Broniatowska (2020) <doi:10.24425/cejeme.2020.134747>.

Getting started

Package details

AuthorMaciej Nasinski [aut, cre]
MaintainerMaciej Nasinski <>
LicenseGPL (>= 2) | file LICENSE
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the cat2cat package in your browser

Any scripts or data that you put into this service are public.

cat2cat documentation built on May 29, 2024, 8:32 a.m.