Re: [R-sig-phylo] Error in phytools - locate.fossil?

2023-01-10 Thread Liam J. Revell
Dear Lindsey. Thanks for sharing the code & data. It made the problem pretty easy to resolve. Turns out it is a simple numerical precision issue. I have resolved it by adding an optional argument tolwith a sensible default value which most users can probably ignore (but can set to tol=0 if

Re: [R-sig-phylo] Error in phytools - locate.fossil?

2023-01-10 Thread Liam J. Revell
Dear Lindsey. Thanks for posting your code, but would you mind sending me (it can be off-list) an example in which I can also pull your data & tree and re-run it with the real data that is generating the error? This might be helpful in getting to the bottom of your issue. Thanks! All the

[R-sig-phylo] Error in phytools - locate.fossil?

2023-01-10 Thread Lindsey Dehaan
Hi all, I have a question regarding the phytools function locate.fossil(). I have had a lot of success with this function but there are two fossils of mine that the function does not like. I give the function my phylogeny, a max and min age for the fossil, and the edge for the fossil to be

Re: [R-sig-phylo] Counting and getting the age of cherries in a tree

2023-01-10 Thread Ivan Magalhaes
This was exactly what I needed -- thanks a lot!!Best,Ivan -- Dr. Ivan L. F. Magalhaes Postdoctoral fellow — División AracnologíaMuseo Argentino de Ciencias Naturales  "Bernardino Rivadavia"  Av. Ángel Gallardo 470, C1405DJR, Buenos Aires, Argentina+54 11 4982-8370 ext. 169Website | ResearchGate