Introducing LearnPCA

R
PCA
Improve your understanding of PCA
Author

Bryan Hanson

Published

May 3, 2022

PCA, or principal components analysis, is one of the most wide-spread statistical methods in use. It shows up in many disciplines, from political science and psychology, to chemistry and biology. PCA is also really challenging to understand.

I’m pleased to announce that my colleague David Harvey and I have recently released LearnPCA, an R package to help people with understanding PCA. In LearnPCA we’ve tried to integrate our years of experience teaching the topic, along with the best insights we can find in books, tutorials and the nooks and crannies of the internet. Though our experience is in a chemometrics context, we use examples from different disciplines so that the package will be broadly helpful.

The package contains seven vignettes that proceed from the conceptual basics to advanced topics. As of version 0.2.0, there is also a Shiny app to help visualize the process of finding the principal component axes. The current vignettes are:

You can access the vignettes at the Github Site, you don’t even have to install the package. For the Shiny app, do the following:

install.packages("LearnPCA") # you'll need version 0.2.0
library("LearnPCA")
PCsearch()

We would really appreciate your feedback on this package. You can do so in the comments below, or open an issue.

Reuse

Citation

BibTeX citation:
@online{hanson2022,
  author = {Bryan Hanson},
  editor = {},
  title = {Introducing {LearnPCA}},
  date = {2022-05-03},
  url = {http://chemospec.org/2022-05-03-LearnPCA-Intro.html},
  langid = {en}
}
For attribution, please cite this work as:
Bryan Hanson. 2022. “Introducing LearnPCA.” May 3, 2022. http://chemospec.org/2022-05-03-LearnPCA-Intro.html.