juba / explor

Interfaces for Multivariate Analysis in R
https://juba.github.io/explor/
193 stars 13 forks source link

Plot of loadings reversed #32

Closed ameyenn closed 4 years ago

ameyenn commented 4 years ago

Hi,

Just teaching myself PCA and plots and loadings, categorical data, seems to work ok and will move onto look at MCA. Data set of repeat arrests, just as a learning set for me, found it difficult to get fully discrete data sets.

The plots are reversed but the same, although the x-y dim % are different.

The scree plots are similar but again % varies a little.

image

image

Any clues or suggestions, thanks for the nice package and now I know what shiny acctually does!

Regards Dr Andrew Meyenn (Melbourne, Australia)

juba commented 4 years ago

Could you tell me what function you used to compute the PCA ? And is the dataset available somewhere, in a package maybe ?

Thanks for taking the time to report the problem.

ameyenn commented 4 years ago

Hi Julien,

Problem solved, I was using a scales matrix when I used the data frame for both, all good!

Thanks

Andrew Meyenn

On Tue, May 19, 2020 at 5:09 PM Julien Barnier notifications@github.com wrote:

Could you tell me what function you used to compute the PCA ? And is the dataset available somewhere, in a package maybe ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/juba/explor/issues/32#issuecomment-630628843, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG2VHBMA4HH5MV2W4GQW4P3RSIWBPANCNFSM4NEVQFVQ .

-- Dr Andrew Meyenn

juba commented 4 years ago

Glad to hear it ! Thanks for letting me know.