All you need to know on PCA …

February 28, 2020
By

[This article was first published on François Husson, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

All you need to do with PCA is in Factoshiny!

PCA – Principal Component Analysis – is a well known method for exploring and visualizing data. The function Factoshiny of the package Factoshiny allows you to perform PCA in a really easy way. You can include extras information such as categorical variables, manage missing data, draw and improve the graphs interactively, have several numeric indicators as outputs, perform clustering on the PCA results, and even have an automatic interpretation of the results. Finally, the function returns the lines of code to parameterize the analysis and redo the graphs, which makes the analysis reproducible.

See this video and the audio transcription of this video:

PCAFacto

The lines of code to do a PCA:

install.packages(Factoshiny)
library(Factoshiny)
data(decathlon)
result <- Factoshiny(decathlon)

Theorectical and practical informations on PCA are available in these 3 course videos:

  1. Data – practicalities
  2. Studying individuals and variables
  3. Interpretation aids

Here are the slides and the audio transcription of the course.

Here is the material used in the videos:

And here is a video that gives more information on the management of missing data.

Enjoy to make beautiful visualizations of your data!

 

To leave a comment for the author, please follow the link and comment on their blog: François Husson.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.



If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Search R-bloggers

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)