Reputation: 1
I trying to ran a code using a newick tree, the tree plots but does not want to run a chronopl function.
I have run the code on a bigger data set and the code worked with no issues, however, when I run the code on the subset of the same data set, I get an error.
This is the code I am running (Larkie
is the name of my file).
etal <- chronopl(Larkie, 0, age.min = 1, age.max = NULL,
node = "root", S = 1, tol = 1e-8,
CV = FALSE, eval.max = 500, iter.max = 500)
Error: Error in nlminb(c(ini.rate, ini.time[unknown.ages]), function(p) minusploglik(p[EDGES], : NA/NaN gradient evaluation In addition: Warning message: In nlminb(c(ini.rate, ini.time[unknown.ages]), function(p) minusploglik(p[EDGES], : NA/NaN function evaluation
Upvotes: 0
Views: 161