pcreg: Advanced Methods for Principal Component Analysis and Principal Component Regression

Provides a unified framework for principal component analysis (PCA) and principal component regression (PCR), including standard PCA, sparse PCA, robust PCA, and supervised PCA. The package supports automatic selection of the number of components using cumulative variance and elbow methods and integrates PCA with regression modelling through PCR models. It includes tools for PCA suitability assessment using Bartlett's test of sphericity and the Kaiser-Meyer-Olkin (KMO) measure. Visualisation utilities such as scree plots and biplots are provided for interpretation. The methods are designed to handle multicollinearity, outliers, and high-dimensional data, making them suitable for applied statistical modelling and data analysis. The methodology is based on established approaches described in Jolliffe (2002) <doi:10.1007/b98835>, Zou et al. (2006) <doi:10.1111/j.1467-9868.2005.00503.x>, and Hubert et al. (2005) <doi:10.1198/004017004000000563>.

Version: 0.1.0
Imports: stats, ggplot2, ggrepel, gridExtra, scales, psych, elasticnet, robustbase, grid
Suggests: testthat (≥ 3.0.0)
Published: 2026-05-29
DOI: 10.32614/CRAN.package.pcreg (may not be active yet)
Author: Dr. Pramit Pandit [aut, cre], Dr. Halagundegowda G R [aut], Dr. Kamidi Rahul [aut], Dr. S. Gandhi Doss [aut]
Maintainer: Dr. Pramit Pandit <pramitpandit at gmail.com>
License: GPL-3
NeedsCompilation: no
CRAN checks: pcreg results

Documentation:

Reference manual: pcreg.html , pcreg.pdf

Downloads:

Package source: pcreg_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): pcreg_0.1.0.tgz, r-oldrel (x86_64): pcreg_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=pcreg to link to this page.