Error in .simulate.ode.tree(sample.times, sample.states, fgy, solve.QAL, :
(list) object cannot be coerced to type 'integer'
The code is failing at this step:
index <- as.integer(izx[names(ipx)])
where ipx is an inverted associative list with concatenated tip labels as keys and phylo node indices as values, and izx is also an inverted associative list with what should be the same keys and z node indices as values.
The code is failing at this step:
where
ipx
is an inverted associative list with concatenated tip labels as keys andphylo
node indices as values, andizx
is also an inverted associative list with what should be the same keys andz
node indices as values.