[MORPHMET] physignal in geomorph

2015-06-11 Thread Anneke van Heteren
Dear friends and colleagues I am trying to run physignal in geomorph (R), but I am running into a problem I do not understand. Here is the code I am using and the error message: physignal(ursid_phyl, Regr_res_av, iter=99) Error in match.names(clabs, names(xi)) : names do not match

Re: [MORPHMET] physignal in geomorph

2015-06-11 Thread Emma Sherratt
Anneke, You are using match() incorrectly. See below: library(geomorph) Loading required package: rgl data(plethspecies) Y.gpa-gpagen(plethspecies$land) physignal(plethspecies$phy,Y.gpa$coords,method=Kmult,iter=99) $phy.signal [,1] [1,] 0.9572538 $pvalue [,1] [1,] 0.03

Re: [MORPHMET] physignal in geomorph

2015-06-11 Thread Emma Sherratt
However Anneke, the error that you first get is not our catch of the names not matching, but is instead coming from somewhere within, but where I cannot immediately tell. Perhaps send me the traceback. Also note that name.check() only works with data in a 2d matrix and not a 3d array. Emma