Relating skull shape to environmental variables
Dear list members, My PhD student Adriana Acero and I are trying to relate the mean cranial shape of species (Principal components scores) of a bat community to the land use type (% of each land use class measured from satellite data) in which species occur. Therefore, our analytical problem is more of a RLQ (relating traits to environment) that is common in community ecology. We want to use the ade4:: rlq function to relate the 10 PCs representing the position of each species in the shape space (*Q*), to the environmental matrix (*R*), using the species composition matrix as *L. * The problem is that the ade4::rlq function only accepts objects of the dudi.pca class. Did anyone come across a similar issue? We tried to follow this blog post <https://www.r-bloggers.com/r-for-ecologists-rlq-analysis-semi-explained/>, which builds the analysis step by step using custom functions and also tried to coerce our PCA object into a as.dudi class, but it didn't work. Thank you in advance, Diogo
<http://diogoprovete.weebly.com> Associate Chair (Graduate studies) in Animal Biology Skype: diogoprovete Editor: Amphibia-Reptilia <https://brill.com/view/journals/amre/amre-overview.xml?lang=en> | Journal of Herpetology <https://journalofherpetology.org> | Herpetological Journal <https://ojs.thebhs.org/index.php/HJ> | PLoS One | PeerJ [[alternative HTML version deleted]]