I recommend first making a geomorph data frame and using it in your analyses.
If the error persists, let us know. These types of errors are often caused by
R trying to figure out how to use objects in the global environment, rather
that getting the data specifically from a list.
Hope that helps!
> On Apr 11, 2017, at 4:11 PM, Lawrence Fatica <lawrence.m.fat...@gmail.com>
> Hi all,
> I am trying to use the trajectory.analysis function in geomorph and have come
> across an error I'm not sure how to fix. The command I am using is as follows:
> trajectory.analysis(proc.coords ~ classifier$age + classifier$species +
> in which "proc.coords" is the output from gpagen, and "classifier" is a data
> frame with factors denoting age classes and species.
> The error I get is as follows:
> Error in procD.fit(f1, data = data, pca = FALSE) :
> Different numbers of specimens in dependent and independent variables
> I've double checked that I have Procrustes coordinates for 90 specimens, age
> categories for 90 specimens, and species designations for 90 specimens. I've
> gotten this to work in an earlier version of geomorph. Am I overlooking
> something here?
> Many thanks,
> MORPHMET may be accessed via its webpage at http://www.morphometrics.org
> You received this message because you are subscribed to the Google Groups
> "MORPHMET" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to morphmet+unsubscr...@morphometrics.org
MORPHMET may be accessed via its webpage at http://www.morphometrics.org
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email