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>.

Version: 0.4.7
Depends: R (≥ 3.6)
Imports: MASS
Suggests: caret, dplyr, forcats, knitr, magrittr, randomForest, rmarkdown, testthat (≥ 3.0.0), tidyr
Published: 2024-01-22
DOI: 10.32614/CRAN.package.cat2cat
Author: Maciej Nasinski [aut, cre]
Maintainer: Maciej Nasinski <nasinski.maciej at>
License: GPL-2 | GPL-3 | file LICENSE [expanded from: GPL (≥ 2) | file LICENSE]
NeedsCompilation: no
Citation: cat2cat citation info
Materials: NEWS
CRAN checks: cat2cat results


Reference manual: cat2cat.pdf
Vignettes: Get Started


Package source: cat2cat_0.4.7.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): cat2cat_0.4.7.tgz, r-oldrel (arm64): cat2cat_0.4.7.tgz, r-release (x86_64): cat2cat_0.4.7.tgz, r-oldrel (x86_64): cat2cat_0.4.7.tgz
Old sources: cat2cat archive


Please use the canonical form to link to this page.