Hello, I'm trying to use the function maxlik.betasplit from the apTreeshape package in some phylogenetic trees. I previously converted the trees to the treeshape format and removed polytomies. However, each time I run the command, I get several warnings, usually more than 50, all with the same text:
49: In if (class(phylo) == "treeshape") bal <- bbalance(as.phylo(phylo)) : the condition has length > 1 and only the first element will be used 50: In if (class(phylo) == "phylo") bal <- bbalance(phylo) : the condition has length > 1 and only the first element will be used Despite getting the results I need, I'm not sure what these warnings mean and so don't really trust the data I'm getting. Is it something I can ignore? Thanks in advance!Pedro [[alternative HTML version deleted]] _______________________________________________ R-sig-phylo mailing list - R-sig-phylo@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-phylo Searchable archive at http://www.mail-archive.com/r-sig-phylo@r-project.org/