

Without seeing more code and data this is challenging to trouble-shoot.
However, your stated goal was to obtain mean shapes for your groups. There are MAY ways to do this. Here is just one approach: 1) fit a linear model using grouping variables as factors, 2) perform pairwise comparisons. The output from ‘pairwise’ contains a matrix of group means. These can be used directly with rows as group mean. Or if required for downstream shape visualizations, they can be re-configured back into a 3D array using ‘arrayspecs’.
library(geomorph)
data(plethodon)
Y.gpa <- gpagen(plethodon$land)
groups <- factor(paste(plethodon$species, plethodon$site))
fit <- procD.lm(Y.gpa$coords ~ plethodon$species*plethodon$site)
PW <- pairwise(fit,groups = groups)
PW$LS.means
Dr. Dean C. Adams
Distinguished Professor of Evolutionary Biology
Department of Ecology, Evolution, and Organismal Biology
Iowa State University
https://faculty.sites.iastate.edu/dcadams/
phone: 515-294-3834
--
You received this message because you are subscribed to the Google Groups "geomorph R package" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
geomorph-r-pack...@googlegroups.com.
To view this discussion on the web, visit
https://groups.google.com/d/msgid/geomorph-r-package/e35341a9-8b03-4d87-8d22-a4a4b65375dcn%40googlegroups.com.