petersenlab: A Collection of R Functions by the Petersen Lab

A collection of R functions that are widely used by the Petersen Lab. Included are functions for various purposes, including evaluating the accuracy of judgments and predictions, performing scoring of assessments, generating correlation matrices, conversion of data between various types, data management, psychometric evaluation, extensions related to latent variable modeling, various plotting capabilities, and other miscellaneous useful functions. By making the package available, we hope to make our methods reproducible and replicable by others and to help others perform their data processing and analysis methods more easily and efficiently. The codebase is in <doi:10.5281/zenodo.7602890>. The package is described in Petersen (2024) <doi:10.1201/9781003357421>, <doi:10.5281/zenodo.6466590>.

Version: 1.0.0
Depends: R (≥ 4.1.0)
Imports: stats, graphics, utils, nlme, Hmisc, digest, dplyr, ggplot2, lavaan, mitools, mix, mvtnorm, psych, stringr, xtable, grDevices, plyr, reshape2, RColorBrewer, viridisLite, tidyselect, scales
Suggests: testthat (≥ 3.0.0), waldo, withr
Published: 2024-04-30
DOI: 10.32614/CRAN.package.petersenlab
Author: Isaac T. Petersen ORCID iD [aut, cre], Developmental Psychopathology Lab at the University of Iowa [ctb]
Maintainer: Isaac T. Petersen <isaac-t-petersen at>
License: MIT + file LICENSE
NeedsCompilation: no
Citation: petersenlab citation info
Materials: README
CRAN checks: petersenlab results


Reference manual: petersenlab.pdf


Package source: petersenlab_1.0.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): petersenlab_1.0.0.tgz, r-oldrel (arm64): petersenlab_1.0.0.tgz, r-release (x86_64): petersenlab_1.0.0.tgz, r-oldrel (x86_64): petersenlab_1.0.0.tgz


Please use the canonical form to link to this page.