Grace, The package phytools includes a function fitPagel if that is the method that you want to use. He has a post on his blog that discusses his implementation so it won't be a black box for you:
http://blog.phytools.org/2014/12/r-function-for-pagels-1994-correlation.html cheers Heath On Wed, Feb 10, 2016 at 11:14 AM, Joe Felsenstein <j...@gs.washington.edu> wrote: > I do not know offhand whether there is an R implementation, but how about > Mark Pagel's 1994 method for testing whether two 0/1 characters changing > along a ohylogeny are changing independently? > > J.F. > ----- > j...@gs.washington.edu > Joe Felsenstein, Department of Genome Sciences and Department of Biology > Box 355065, University of Washington, Seattle, WA 98195-5065 > > [[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/ > -- *Heath Blackmon, Ph.D.* *Postdoctoral Researcher* *University of Minnesota* *coleoguy.github.io <http://coleoguy.github.io>* *@coleoguy* <https://twitter.com/coleoguy> *Phone 682-444-0538* [[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/