Hi!
I'm trying to use the map.overlap function of the R package phytools to
compute the fraction of stochastic character mapping that is shared by two
trees (I basically want to obtain a quantitative value that tells me if
there is correlative evolution between an adaptive strategy and a trait).
Hi Marina.
Your problem is that the trees returned by make.simmap with nsim1 are
an object of class multiPhylo - a list of trees (objects of class
phylo) each with a mapped discrete character. I'm guessing that the
first time you ran this you encountered the error:
Error in