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 gmail.com> |
BugReports: |
https://github.com/Polkas/cat2cat/issues |
License: |
GPL-2 | GPL-3 | file LICENSE [expanded from: GPL (≥ 2) | file LICENSE] |
URL: |
https://github.com/Polkas/cat2cat,
https://polkas.github.io/cat2cat/ |
NeedsCompilation: |
no |
Citation: |
cat2cat citation info |
Materials: |
NEWS |
CRAN checks: |
cat2cat results |
Documentation:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=cat2cat
to link to this page.