Hi Silvia, Check the help page of root(): it says the tree is unrooted before before being rooted. So your 2nd output is as expected. See the options of this function to resolve the root.
For the 1st method, I think you should not do unclass(). best, Emmanuel -----Original Message----- From: SILVIA CALVO ARANDA <silvit...@hotmail.com> Sender: r-sig-phylo-boun...@r-project.org Date: Wed, 7 Aug 2013 06:08:18 To: Liam J. Revell<liam.rev...@umb.edu> Cc: r-sig-phylo@r-project.org<r-sig-phylo@r-project.org> Subject: Re: [R-sig-phylo] rooting multiple trees _______________________________________________ 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/ _______________________________________________ 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/