Package: codecountR Title: Counting Codes in a Text and Preparing Data for Analysis Version: 0.0.4.8 Authors@R: person("Philippe", "Cohard", , "p.cohard@laposte.net", role = c("aut", "cre")) Description: Data analysis often requires coding, especially when data are collected through interviews, observations, or questionnaires. As a result, code counting and data preparation are essential steps in the analysis process. Analysts may need to count the codes in a text (Tokenization, counting of pre-established codes, computing the co-occurrence matrix by line) and prepare the data (e.g., min-max normalization, Z-score, robust scaling, Box-Cox transformation, and non-parametric bootstrap). For the Box-Cox transformation (Box & Cox, 1964, ), the optimal Lambda is determined using the log-likelihood method. Non-parametric bootstrap involves randomly sampling data with replacement. Two random number generators are also integrated: a Lehmer congruential generator for uniform distribution and a Box-Muller generator for normal distribution. Package for educational purposes. License: GPL-3 Encoding: UTF-8 RoxygenNote: 7.2.3 Imports: stats Suggests: knitr, rmarkdown VignetteBuilder: knitr NeedsCompilation: no Packaged: 2026-07-05 06:50:24 UTC; root Author: Philippe Cohard [aut, cre] Maintainer: Philippe Cohard Repository: https://cran.r-universe.dev Date/Publication: 2025-03-01 16:10:02 UTC RemoteUrl: https://github.com/cran/codecountR RemoteRef: HEAD RemoteSha: 1df0f5e8c70e10908bb7e001c6036c3561cd6238