Pere, I agree that there is likely some issue in the data array and how it is configured, but it is difficult to troubleshoot without knowing more and seeing the input data.
If you communicate with me off-line I am willing to take a look for you. Best, Dean Dr. Dean C. Adams Professor Department of Ecology, Evolution, and Organismal Biology Department of Statistics Iowa State University www.public.iastate.edu/~dcadams/<http://www.public.iastate.edu/~dcadams/> phone: 515-294-3834 From: Pere Ibáñez [mailto:perei...@gmail.com] Sent: Tuesday, January 31, 2017 5:34 AM To: MORPHMET <morphmet@morphometrics.org> Subject: [MORPHMET] Error in estimate.missing (package geomorph) I have an array (p x k x n) of landmark corrdinates for a set of specimens. Some of them have missing landmarks (NA). I am trying to estimate these landmarks using: estimate.missing(nameofmyarray, method = "Reg") And I get this error: Error in incomplete[lndmk, , i] <- tmp : replacement has length zero Any ideas of what is happening? I followed the exact same procedure with other arrays of landmarks and it worked. There is probably something wrong with this array, but I have no idea of what... 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<mailto: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 "MORPHMET" group. To unsubscribe from this group and stop receiving emails from it, send an email to morphmet+unsubscr...@morphometrics.org.