http://www.phytools.org/Cordoba2024/ex/9/Pagel94-method.html WebAug 2, 2024 · OK, having done this, we will use the phytools function fitPagel to fit Pagel's (1994) model. To get a sense of our data before we do, we should first visualize the data …
phytools/fitPagel.Rd at master · liamrevell/phytools
WebJul 4, 2015 · This final exercise is a short exercise designed to fit and test Pagel's (1994) method for testing for an evolutionary relationship between two binary characters. To do this exercise, you will first need to download the following dataset & tree, although they can also be loaded directly from the web. WebValue. An object of class "fitPagel" which contains the optimized matrices under an independence & a dependence model, log-likelihoods, a likelihood ratio, and a P-value … lycra or spandex strap
R: Function to test for correlated evolution of binary traits
WebContribute to liamrevell/phytools development by creating an account on GitHub. WebDetails. fitPagel fits both an independent evolution model, as well as Pagel's (1994) binary dependent model, and compares them with a likelihood-ratio test.. plot.fitPagel plots the … Webphytools/R/fitPagel.R Go to file Cannot retrieve contributors at this time 362 lines (355 sloc) 12.1 KB Raw Blame ## function fits Pagel '94 model of correlated evolution of two binary characters ## uses fitMk, ape::ace, or geiger::fitDiscrete internally ## written by Liam J. Revell 2014, 2015, 2016, 2024, 2024 lycra overalls