Skip to content
Prev 6193 / 7420 Next

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