liamrevell / phytools

GNU General Public License v3.0
207 stars 56 forks source link

phyl.pairedttest Error in solve.default(V, d - dbar) : system is exactly singular: U[5,5] = 0 #102

Open evolucionario opened 2 years ago

evolucionario commented 2 years ago

Hi Liam,

I'm using phyl.pairedttest for a forthcoming paper; very cool application and was working fantastic with the species means alone, but when I incorporated standard.errors for my means I'm getting an error message:

Error in solve.default(V, d - dbar) : Lapack routine dgesv: system is exactly singular: U[5,5] = 0

All my traits give this error so it is not an oddity of a particular trait. The tree is small (9 tips) but nothing odd about it (no zero-length branches).

Let me know if you have any suggestions to explore or want me to send you the data so you can recreate the error.

R 4.0.5. Ape 5.5 Phytools 0.7-90

Thanks in advance!

Santiago