Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visualization of PCA shape change #224

Open
theropod1 opened this issue Jul 10, 2022 · 1 comment
Open

Visualization of PCA shape change #224

theropod1 opened this issue Jul 10, 2022 · 1 comment

Comments

@theropod1
Copy link

theropod1 commented Jul 10, 2022

Hi!
Love your package!

I have a question/perhaps a feature request:

Namely, I’m working on visualization of PCA morphospaces using the PCcontrib() function.

For example:
PCcontrib(my_pca_object, nax=1:1, sd.r=c(-1))

I understand this will return me the shape at -1 standard deviation on PC1, and at 0 for all the other PCs.

What I am wondering is if there is a way to also visualize shapes that are at some arbitrary point in shape space, e.g. at -1 on PC1 and -1 on PC2.
Package Geomorph does something similar with its shape.predictor(), which allows to predict the shape for any combination of predictor variables (i.e. PC values).
Is there a way to accomplish something like this in Momocs?

Many thanks!

@vbonhomme
Copy link
Collaborator

vbonhomme commented Jul 10, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants