vanderlei52 <vanderleidebastianimach <at> yahoo.com.br> writes:
> > I need to create a binary matrix with all node of a phylogenetic tree and the > presence of each taxo in their respective node. > I would suggest that you try this question on the r-sig-phylo mailing list instead. The phylobase package has an ancestors() functions that could help you put together a solution, but there may well be a quicker, easier way. Ben Bolker ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.