Hi Frederico,
thanks for replying. Also thanks Karlo for sending a separate email
yesterday. I think I haven't made myself clear enough. Our dataset is
derived from geometric morphometrics, we are measuring skull and jaw shape
of bat species and we want to test the influence of land use classes on
shape. So we have to process the data using the geomorph::gm.prcomp
function that allows an array containing the XY landmark coordinates for
each species (a .tps file). This function returns the PCA scores
representing the position of each species (mean) in the shape space.
ade4::dudi.pca only accepts the regular square matrix as input, that's why
we can't use it.
Best,
Diogo
Em sex., 17 de jul. de 2020 ?s 10:36, Frederico Faleiro <fvfaleiro at gmail.com>
escreveu:
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/