----- Forwarded message from Corey Handelsman <[email protected]> -----
Date: Tue, 26 Nov 2013 13:07:49 -0500
From: Corey Handelsman <[email protected]>
Reply-To: Corey Handelsman <[email protected]>
Subject: sliding landmarks in geomorph
To: [email protected]
Hi All,
I am struggling to perform a GPA in geomorph with a dataset that contains
sliding landmarks. I am able to read in the TPS file and perform the GPA with
the gpagen function if I ignore the sliding landmarks. However, if I try to run
the GPA with sliding landmarks that were extracted with the curves2d function,
gpagen returns the following error:
"Error in gpagen(field.cl, curves = sliders) : (list) object cannot be coerced
to type ‘integer’”.
There are a couple things I’m not quite grasping. First, is there a way to
import the TPS file using readland.tps in integer format? If so, I’m unclear
why I would want/need to convert the landmark coordinates from numeric to
integer. This seems like it would introduce a lot of rounding error. Further,
there doesn’t seem to be a simple way to convert from numeric to integer
without losing the structure of the array. Any suggestions on how to proceed
would be greatly appreciated.
Cheers,
Corey
Corey Handelsman
PhD Candidate
Department of Biology
Colorado State University
Fort Collins, Colorado
email: [email protected]
----- End forwarded message -----