gspcr: Generalized Supervised Principal Component Regression

Generalization of supervised principal component regression (SPCR; Bair et al., 2006, <doi:10.1198/016214505000000628>) to support continuous, binary, and discrete variables as outcomes and predictors (inspired by the 'superpc' R package <>).

Version: 0.9.5
Depends: R (≥ 2.10)
Imports: dplyr, FactoMineR, ggplot2, MASS, MLmetrics, nnet, PCAmixdata, reshape2, rlang
Suggests: knitr, lmtest, patchwork, rmarkdown, superpc, testthat (≥ 3.0.0)
Published: 2024-04-12
Author: Edoardo Costantini ORCID iD [aut, cre]
Maintainer: Edoardo Costantini <costantini.edoardo at>
License: MIT + file LICENSE
NeedsCompilation: no
Materials: README
CRAN checks: gspcr results


Reference manual: gspcr.pdf
Vignettes: Vignette 1: Example analysis with GSPCR
Vignette 2: GSPCR specification options
Vignette 3: Alternatives approaches


Package source: gspcr_0.9.5.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): gspcr_0.9.5.tgz, r-oldrel (arm64): gspcr_0.9.5.tgz, r-release (x86_64): gspcr_0.9.5.tgz, r-oldrel (x86_64): gspcr_0.9.5.tgz
Old sources: gspcr archive


Please use the canonical form to link to this page.