这是我在R中的phytools软件包中的代码,我试图运行我的simtree的摘要,这些摘要必须在phylo或multiphylo类中,但是当我运行下面的代码时,出现此错误。
class(YY)<-"multiPhylo"
class(YY)
[1] "multiPhylo"
describe.simmap(YY)
YY <- describe.simmap(simtrees, plot=F)
Error in sort.int(x, na.last = na.last, decreasing = decreasing, ...) :
'x' must be atomic